doc: render type references in SQLite docs
Render JavaScript types as such in the section "Type conversion between JavaScript and SQLite". PR-URL: https://github.com/nodejs/node/pull/54684 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
298dea0c63
commit
cb747d360e
@ -308,11 +308,11 @@ exception.
|
|||||||
|
|
||||||
| SQLite | JavaScript |
|
| SQLite | JavaScript |
|
||||||
| --------- | -------------------- |
|
| --------- | -------------------- |
|
||||||
| `NULL` | `null` |
|
| `NULL` | {null} |
|
||||||
| `INTEGER` | `number` or `BigInt` |
|
| `INTEGER` | {number} or {bigint} |
|
||||||
| `REAL` | `number` |
|
| `REAL` | {number} |
|
||||||
| `TEXT` | `string` |
|
| `TEXT` | {string} |
|
||||||
| `BLOB` | `Uint8Array` |
|
| `BLOB` | {Uint8Array} |
|
||||||
|
|
||||||
[SQL injection]: https://en.wikipedia.org/wiki/SQL_injection
|
[SQL injection]: https://en.wikipedia.org/wiki/SQL_injection
|
||||||
[`--experimental-sqlite`]: cli.md#--experimental-sqlite
|
[`--experimental-sqlite`]: cli.md#--experimental-sqlite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user