/** * Data table Node - Version 1.1 * Discriminator: resource=row, operation=update */ /** Update row(s) matching certain fields */ export type DataTableV11RowUpdateParams = { resource: 'row'; operation: 'update'; /** * Data table * @builderHint Default to mode: 'list' which is easier for users to set up * @default {"mode":"list","value":""} */ dataTableId?: { __rl: true; mode: 'list' | 'name' | 'id'; value: string; cachedResultName?: string }; /** * Must Match * @default anyCondition */ matchType?: 'anyCondition' | 'allConditions' | Expression; /** * Filter to decide which rows get * @default {} */ filters?: { /** Conditions */ conditions?: Array<{ /** Choose from the list, or specify using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default id */ keyName?: string | Expression; /** Condition * @default eq */ condition?: string | Expression; /** Value * @displayOptions.hide { condition: ["isEmpty", "isNotEmpty", "isTrue", "isFalse"] } */ keyValue?: string | Expression | PlaceholderValue; }>; }; /** * Columns * @default {"mappingMode":"defineBelow","value":null} */ columns?: string; /** * Options * @default {} */ options?: { /** Whether the operation simulates and returns affected rows in their "before" and "after" states * @default false */ dryRun?: boolean | Expression; }; }; export type DataTableV11RowUpdateNode = { type: 'n8n-nodes-base.dataTable'; version: 1.1; config: NodeConfig; };