documentation: fix data types table formatting

dependabot/npm_and_yarn/fast-xml-parser-4.4.1
Jordi Gutiérrez Hermoso 2 months ago committed by jordigh
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 ## 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 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. 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. The following table lists currently supported types and their short and explicit representations.
| **Type Name** | **Short Repr** | **[Type Code, Args...]** | **Description** | | **Type Name** | **Short Repr** | **[Type Code, Args...]** | **Description** |
|------------------|----------------|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| `Numeric` | `number`* | `['n',number]` | double-precision floating point number | | `Numeric` | `number`* | `['n',number]` | double-precision floating point number |
| `Text` | `string`* | `['s',string]` | Unicode string | | `Text` | `string`* | `['s',string]` | Unicode string |
| `Bool` | `bool`* | `['b',bool]` | Boolean value (true or false) | | `Bool` | `bool`* | `['b',bool]` | Boolean value (true or false) |

Loading…
Cancel
Save