Skip to content

Commit

Permalink
doc: render type references in SQLite docs
Browse files Browse the repository at this point in the history
Render JavaScript types as such in the section "Type conversion between
JavaScript and SQLite".

PR-URL: nodejs#54684
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
tniessen authored and tpoisseau committed Nov 21, 2024
1 parent 71be373 commit d75fab5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,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
Expand Down

0 comments on commit d75fab5

Please sign in to comment.