interface DataTableNodeParameters {
columns?: {
column: {
name: string;
type?: "string" | "number" | "boolean" | "date";
}[];
};
dataTableId?: {
mode: "id"
| "list"
| "name";
value: string;
};
filters?: {
conditions: {
condition?: string;
keyName?: string;
keyValue?: string;
}[];
};
limit?: number;
matchType?: "anyCondition"
| "allConditions";
newName?: string;
operation?:
| "create"
| "get"
| "update"
| "list"
| "delete"
| "upsert"
| "insert"
| "deleteRows"
| "rowExists"
| "rowNotExists"
| "clear";
options?: | { dryRun?: boolean }
| { optimizeBulk?: boolean }
| { createIfNotExists?: boolean }
| {
filterName?: string;
sortDirection?: "asc" | "desc";
sortField?: "name" | "createdAt" | "updatedAt";
};
orderBy?: boolean;
orderByColumn?: string;
orderByDirection?: "ASC"
| "DESC";
resource?: "row" | "table";
returnAll?: boolean;
tableName?: string;
}
Properties§
§
§
§
§
§
§
§
§
§
§
§
§
§
§
readonly columns?: { ... }
readonly data Table Id?: { ... }
Default: {"mode":"list","value":""}
readonly filters?: { ... }
Filter to decide which rows get Default: {} Type options: {"multipleValues":true,"minRequiredFields":1}
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1}
readonly match Type?: "anyCondition" | "allConditions"
Default: "anyCondition"
readonly new Name?: string
The new name for the data table
readonly operation?:
| "create"
| "get"
| "update"
| "list"
| "delete"
| "upsert"
| "insert"
| "deleteRows"
| "rowExists"
| "rowNotExists"
| "clear"
Default: "insert"
readonly options?:
| { dryRun?: boolean }
| { optimizeBulk?: boolean }
| { createIfNotExists?: boolean }
| {
filterName?: string;
sortDirection?: "asc" | "desc";
sortField?: "name" | "createdAt" | "updatedAt";
}
Default: {}
readonly order By?: boolean
Whether to sort the results by a column
readonly order By Column?: string
Choose from the list, or specify using an expression Default: "createdAt" Type options: {"loadOptionsDependsOn":["dataTableId.value"],"loadOptionsMethod":"getDataTableColumns"}
readonly order By Direction?: "ASC" | "DESC"
Sort direction for the column Default: "DESC"
readonly resource?: "row" | "table"
Default: "row"
readonly return All?: boolean
Whether to return all results or only up to a given limit
readonly table Name?: string
The name of the data table to create
The columns to create in the data table Default: {} Type options: {"multipleValues":true}