interface MySqlV1NodeParameters {
columns?: string;
operation?: "update" | "insert" | "executeQuery";
options?: {
ignore?: boolean;
priority?: "LOW_PRIORITY" | "HIGH_PRIORITY";
queryReplacement?: string;
};
query?: string;
table?: { mode: "list"
| "name"; value: string };
updateKey?: string;
}
Properties§
§
§
§
§
§
§
readonly columns?: string
readonly operation?: "update" | "insert" | "executeQuery"
Default: "insert"
readonly options?: { ... }
Default: {}
readonly query?: string
The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below. Type options: {"editor":"sqlEditor","sqlDialect":"MySQL"}
readonly table?: { ... }
Name of the table in which to insert data to Default: {"mode":"list","value":""}
readonly update Key?: string
Name of the property which decides which rows in the database should be updated. Normally that would be "id". Default: "id"
Comma-separated list of the properties which should used as columns for the new rows