You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/table.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Insert a new row into a table. IMPORTANT: You must use the "data" parameter (not
61
61
62
62
| Parameter | Type | Required | Description |
63
63
| --------- | ---- | -------- | ----------- |
64
-
|`tableId`| string | Yes | Table ID |
64
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
65
65
|`data`| object | Yes | Row data as JSON object |
66
66
67
67
#### Output
@@ -80,7 +80,7 @@ Insert multiple rows into a table at once (up to 1000 rows)
80
80
81
81
| Parameter | Type | Required | Description |
82
82
| --------- | ---- | -------- | ----------- |
83
-
|`tableId`| string | Yes | Table ID |
83
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
84
84
|`rows`| array | Yes | Array of row data objects \(max 1000 rows\)|
85
85
86
86
#### Output
@@ -100,7 +100,7 @@ Insert or update a row based on unique column constraints. If a row with matchin
100
100
101
101
| Parameter | Type | Required | Description |
102
102
| --------- | ---- | -------- | ----------- |
103
-
|`tableId`| string | Yes | Table ID |
103
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
104
104
|`data`| object | Yes | Row data to insert or update |
105
105
|`conflictTarget`| string | No | Unique column to match on. Required only when the table has more than one unique column. |
106
106
@@ -121,7 +121,7 @@ Update an existing row in a table. Supports partial updates - only include the f
121
121
122
122
| Parameter | Type | Required | Description |
123
123
| --------- | ---- | -------- | ----------- |
124
-
|`tableId`| string | Yes | Table ID |
124
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
125
125
|`rowId`| string | Yes | Row ID to update |
126
126
|`data`| object | Yes | Updated row data |
127
127
@@ -141,7 +141,7 @@ Update multiple rows that match filter criteria. Data is merged with existing ro
141
141
142
142
| Parameter | Type | Required | Description |
143
143
| --------- | ---- | -------- | ----------- |
144
-
|`tableId`| string | Yes | Table ID |
144
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
145
145
|`filter`| object | Yes | Filter criteria using operators like $eq, $ne, $gt, $lt, $contains, $ncontains, $startsWith, $endsWith, $in, $nin, $empty, etc. |
146
146
|`data`| object | Yes | Fields to update \(merged with existing data\)|
147
147
|`limit`| number | No | Maximum number of rows to update \(default: no limit, max: 1000\)|
@@ -163,7 +163,7 @@ Delete a row from a table
163
163
164
164
| Parameter | Type | Required | Description |
165
165
| --------- | ---- | -------- | ----------- |
166
-
|`tableId`| string | Yes | Table ID |
166
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
167
167
|`rowId`| string | Yes | Row ID to delete |
168
168
169
169
#### Output
@@ -182,7 +182,7 @@ Delete multiple rows that match filter criteria. Use with caution - supports opt
182
182
183
183
| Parameter | Type | Required | Description |
184
184
| --------- | ---- | -------- | ----------- |
185
-
|`tableId`| string | Yes | Table ID |
185
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
186
186
|`filter`| object | Yes | Filter criteria using operators like $eq, $ne, $gt, $lt, $contains, $ncontains, $startsWith, $endsWith, $in, $nin, $empty, etc. |
187
187
|`limit`| number | No | Maximum number of rows to delete \(default: no limit, max: 1000\)|
188
188
@@ -203,7 +203,7 @@ Query rows with a typed predicate filter and cursor pagination. A single filter
203
203
204
204
| Parameter | Type | Required | Description |
205
205
| --------- | ---- | -------- | ----------- |
206
-
|`tableId`| string | Yes | Table ID |
206
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
207
207
|`filter`| json | No | Predicate condition, e.g. `\{"field":"wins","op":"gte","value":10\}`. Use `all` or `any` for multiple conditions; omit to match all rows. |
208
208
|`columns`| array | No | Stable column IDs or table column names to include in each row data object. Omit or pass an empty array to return all columns. A reference that matches no column is ignored. |
209
209
|`order`| json | No | Sort spec, e.g. `\[\{"field":"wins","direction":"desc"\}\]`. |
@@ -229,7 +229,7 @@ Get a single row by ID
229
229
230
230
| Parameter | Type | Required | Description |
231
231
| --------- | ---- | -------- | ----------- |
232
-
|`tableId`| string | Yes | Table ID |
232
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
233
233
|`rowId`| string | Yes | Row ID to retrieve |
234
234
235
235
#### Output
@@ -248,7 +248,7 @@ Get the schema configuration of a table
248
248
249
249
| Parameter | Type | Required | Description |
250
250
| --------- | ---- | -------- | ----------- |
251
-
|`tableId`| string | Yes | Table ID |
251
+
|`tableId`| string | Yes | Table ID in the execution workspace. In a workflow, the table must belong to the same workspace as the workflow. |
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/rich-markdown-editor.tsx
0 commit comments