From ad45109e77d11e14990a2f236449ddda27c1549d Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:20:01 -0400 Subject: [PATCH 1/4] doc: add `--experimental-sqlite` note --- doc/api/sqlite.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 1b58529500d47b..4980c2af810f57 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -11,7 +11,8 @@ added: v22.5.0 The `node:sqlite` module facilitates working with SQLite databases. -To access it: +This feature can only be used when the `--experimental-sqlite` CLI +flag is specified. To access it: ```mjs import sqlite from 'node:sqlite'; From 254599dd24f26af1b87a52ddc05ada44a8e9c514 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:25:16 -0400 Subject: [PATCH 2/4] Update sqlite.md --- doc/api/sqlite.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 4980c2af810f57..7c80c96c16e6c0 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -6,13 +6,13 @@ added: v22.5.0 --> -> Stability: 1.1 - Active development +> Stability: 1.1 - Active development. Enable this API with the +> [`--experimental-sqlite`][] CLI flag. The `node:sqlite` module facilitates working with SQLite databases. -This feature can only be used when the `--experimental-sqlite` CLI -flag is specified. To access it: +To access it: ```mjs import sqlite from 'node:sqlite'; @@ -314,6 +314,7 @@ exception. | `TEXT` | `string` | | `BLOB` | `Uint8Array` | +[`--experimental-sqlite`]: cli.md#--experimental-sqlite [SQL injection]: https://en.wikipedia.org/wiki/SQL_injection [`sqlite3_changes64()`]: https://www.sqlite.org/c3ref/changes.html [`sqlite3_close_v2()`]: https://www.sqlite.org/c3ref/close.html From 29f9bddaf2a67d058b46489e46e16b4cc6c982dc Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:26:12 -0400 Subject: [PATCH 3/4] Update sqlite.md --- doc/api/sqlite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 7c80c96c16e6c0..41c5a97822e325 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -314,8 +314,8 @@ exception. | `TEXT` | `string` | | `BLOB` | `Uint8Array` | -[`--experimental-sqlite`]: cli.md#--experimental-sqlite [SQL injection]: https://en.wikipedia.org/wiki/SQL_injection +[`--experimental-sqlite`]: cli.md#--experimental-sqlite [`sqlite3_changes64()`]: https://www.sqlite.org/c3ref/changes.html [`sqlite3_close_v2()`]: https://www.sqlite.org/c3ref/close.html [`sqlite3_exec()`]: https://www.sqlite.org/c3ref/exec.html From 430104314d00775ec10528c012117ded761db188 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:50:09 -0400 Subject: [PATCH 4/4] Update doc/api/sqlite.md Co-authored-by: Antoine du Hamel --- doc/api/sqlite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 41c5a97822e325..ac17ecca640d21 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -6,7 +6,7 @@ added: v22.5.0 --> -> Stability: 1.1 - Active development. Enable this API with the +> Stability: 1.1 - Active development. Enable this API with the > [`--experimental-sqlite`][] CLI flag.