interface CrateDbNodeParameters {
additionalFields?: {
mode?: "independently" | "multiple";
queryParams?: string;
};
columns?: string;
operation?: "update"
| "executeQuery"
| "insert";
query?: string;
returnFields?: string;
schema?: string;
table?: string;
updateKey?: string;
}Properties§
§§§§§§§
readonly additional Fields?: { ... }§
readonly columns?: stringComma-separated list of the properties which should used as columns for the new rows
readonly operation?: "update" | "executeQuery" | "insert"Default: "insert"
readonly query?: stringThe SQL query to execute. You can use n8n expressions or $1 and $2 in conjunction with query parameters. Type options: {"editor":"sqlEditor","rows":5,"sqlDialect":"PostgreSQL"}
readonly return Fields?: stringComma-separated list of the fields that the operation will return Default: "*"
readonly schema?: stringName of the schema the table belongs to Default: "doc"
readonly table?: stringName of the table in which to insert data to
readonly update Key?: stringComma-separated list of the properties which decides which rows in the database should be updated. Normally that would be "id". Default: "id"
Default: {}