Skip to content

Commit 16c798f

Browse files
committed
docs(tables): document reference columns
1 parent 421e301 commit 16c798f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/docs/content/docs/tables/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ Every column has a type, which decides how its values are stored and validated.
2727
| **Expiration** | An absolute row expiration time, stored as Unix epoch seconds (seconds since January 1, 1970 UTC) | `1773671400` |
2828
| **JSON** | An object or array | `{ "tier": "pro" }` |
2929
| **Select** | One of a fixed set of options, or several | `Pro` |
30+
| **Reference** | A row ID from another table in your workspace | `row_123` |
3031

31-
Types are enforced as you enter values, so a Number column only takes numbers.
32+
Types are enforced as you enter values, so a Number column only takes numbers. A Reference column is intentionally different for now: it stores the row ID as plain text without checking that the row exists in the selected table.
3233

3334
A Currency column stores a plain number and renders it in the currency you choose for that column, so filters, sorts, and exports all see the amount itself. Changing a column's currency relabels it — it does not convert the amounts.
3435

0 commit comments

Comments
 (0)