mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
documentation: fix data types table formatting
This commit is contained in:
parent
fea7c0b536
commit
db26f3be6a
@ -124,6 +124,9 @@ Note that this combination of rules allows tables and column names to be valid i
|
||||
|
||||
## Value Types
|
||||
|
||||
> [!WARNING]
|
||||
> This section is out of date.
|
||||
|
||||
The format supports a number of data types. Some types have a short representation (e.g. `Numeric` as a JSON `number`, and `Text` as a JSON `string`), but all types have an explicit representation as well.
|
||||
|
||||
The explicit representation of a value is an array `[typeCode, args...]`. The first member of the array is a string code that defines the type of the value. The rest of the elements are arguments used to construct the actual value.
|
||||
@ -131,6 +134,7 @@ The explicit representation of a value is an array `[typeCode, args...]`. The fi
|
||||
The following table lists currently supported types and their short and explicit representations.
|
||||
|
||||
| **Type Name** | **Short Repr** | **[Type Code, Args...]** | **Description** |
|
||||
|------------------|----------------|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `Numeric` | `number`* | `['n',number]` | double-precision floating point number |
|
||||
| `Text` | `string`* | `['s',string]` | Unicode string |
|
||||
| `Bool` | `bool`* | `['b',bool]` | Boolean value (true or false) |
|
||||
|
Loading…
Reference in New Issue
Block a user