From cb747d360e95d27653d66fa528afc40dcdcac3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 3 Sep 2024 11:46:01 +0200 Subject: [PATCH] doc: render type references in SQLite docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Luigi Pinca --- doc/api/sqlite.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index ac17ecca640..6d4a9aca451 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -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