Interface MicrosoftSqlNodeParameters

Source
interface MicrosoftSqlNodeParameters {
    columns?: string;
    deleteKey?: string;
    operation?:
        | "update"
        | "delete"
        | "insert"
        | "executeQuery";
    options?: { queryReplacement?: string };
    query?: string;
    table?: string;
    updateKey?: string;
}

Properties§

§readonly columns?: string

Comma-separated list of the properties which should used as columns for the new rows

§readonly deleteKey?: string

Name of the property which decides which rows in the database should be deleted. Normally that would be "id". Default: "id"

§readonly operation?: "update" | "delete" | "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":"MSSQL"}

§readonly table?: string

Name of the table in which to insert data to

§readonly updateKey?: string

Name of the property which decides which rows in the database should be updated. Normally that would be "id". Default: "id"