Skip to content

Commit 4bdaceb

Browse files
committed
Update column types table
1 parent 1fefbb2 commit 4bdaceb

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

intro/models.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,21 +151,24 @@ As you can see in the example, due to the different column types, the values can
151151
| Column | Type | Example | Notice |
152152
| :--------------------------------------------- | :------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------ |
153153
| `text`<br/>`email`<br/>`url` | `string` | `"Albert"` | |
154-
| `long-text` | `string`<br/>(markdown) | `"# Markdown syntax\n\nNew line with some **bold text**."` |
154+
| `long-text` | `string`<br/>(markdown) | `"# Markdown syntax\n\nNew line with some **bold text**."` | |
155155
| `number`<br/>`percent`<br/>`dollar`<br/>`euro` | `integer` | `279` or `12.5344` | |
156156
| `collaborator` | `array` | `["[email protected]", "[email protected]"]` | |
157157
| `date` | `string`<br/>([ISO 8601 date and time in UTC](https://en.wikipedia.org/wiki/ISO_8601)) | ` "2021-07-01 13:59"` or <br/>`"2021-03-10T16:19:31.761+00:00"` | - seatable accepts a wide variety of date formats.<br/> - Always saved in iso format.<br/>- If "Accurate to minutes" is not set, hh:mm will be ignored. |
158158
| `duration` | `string` | `"9:50"` or `"1:10:30"` | Depending on column setting. |
159159
| `single-select` | `string` | `"female"` | The exact string of the option is required. If the option doesn't exist, `option deleted` will be shown in the UI. |
160160
| `multiple-select` | `array` | `["Option 1", "Option 2"]` | Non-existing options will be ignored. |
161-
| `image` | `array` | `["/workspace/24/asset/.../heart.png", "https://seatable.io/logo.svg"]` | Images can be stored in two ways:<br/>- [uploading an image](https://api.seatable.io/reference/uploadfile)<br/>- providing public URLs |
162-
| `file` | `array` | `[{"name": "fav.ico", "size": 6746, "type": "file", "url": "..."}]` | You need to upload the file first, get its parent_path and file_relative_path first and then return to this call. |
161+
| `image` | `array` | `["/workspace/24/asset/.../heart.png", "https://seatable.io/logo.svg"]` | Images can be stored in two ways:<br/>- [uploading an image](https://api.seatable.io/reference/uploadfile)<br/>- providing public URLs |
162+
| `file` | `array` | `[{"name": "fav.ico", "size": 6746, "type": "file", "url": "...", "upload_time": "2024-03-15T12:34:56.466+00:00"}]` | You need to upload the file first, get its parent_path and file_relative_path first and then return to this call. |
163+
| `email` | `string` | `[email protected]` | |
164+
| `url` | `string` | `https://seatable.io` | |
163165
| `checkbox` | `boolean` | `true` | |
164-
| `rate` | `integer` | 4 |
166+
| `rate` | `integer` | 4 | |
165167
| `geolocation` | `object` | `{"lng": 8.23..., "lat": 50.00...}` or<br/>`{"country_region": "Sweden"}` | Depending on column setting. |
166168
| `formula` | `string` | `"Albert Summer"` | Contains only the result of the formula. |
169+
| `auto-number` | `string` | `"0001"` | |
167170
| `button` | `null` | `null` | Always `null` |
168-
| `link` | `array` | `[{"row_id": "Mr-3QnQ5Q-eeEqFBevtOkw", "display_value": "Google News"}]` | |
171+
| `link` | `array` | `["Mr-3QnQ5Q-eeEqFBevtOkw"]` | Array of row IDs. |
169172
| `link-formula` | `array`, `string` or `integer` | `["Todo 1", "Todo 2"]`, `Open Pending`, `2` | The output depends on the link formula type. Lookup returns an array, rollup returns a string and findmax returns an integer. |
170173
| `digital-sign` | `object` | `{"username": "[email protected]", "sign_image_url": "/digital-signs/2023-06/[email protected]", "sign_time": "2023-06-22T09:42:08.761+00:00"}` | |
171174
| `_id` | `string` | `"Qtf7xPmoRaiFyQPO1aENTjb"` | Unique value inside a base and can not be changed. |

0 commit comments

Comments
 (0)