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 |
|
||||
| --------- | -------------------- |
|
||||
| `NULL` | `null` |
|
||||
| `INTEGER` | `number` or `BigInt` |
|
||||
| `REAL` | `number` |
|
||||
| `TEXT` | `string` |
|
||||
| `BLOB` | `Uint8Array` |
|
||||
| `NULL` | {null} |
|
||||
| `INTEGER` | {number} or {bigint} |
|
||||
| `REAL` | {number} |
|
||||
| `TEXT` | {string} |
|
||||
| `BLOB` | {Uint8Array} |
|
||||
|
||||
[SQL injection]: https://en.wikipedia.org/wiki/SQL_injection
|
||||
[`--experimental-sqlite`]: cli.md#--experimental-sqlite
|
||||
|
Loading…
x
Reference in New Issue
Block a user