From b571db84b9704b9e6b7c72c91e89d5fb6ed33e1a Mon Sep 17 00:00:00 2001 From: skdas20 Date: Mon, 27 Jul 2026 05:00:08 +0000 Subject: [PATCH] doc: clarify sqlite bare parameter default Signed-off-by: skdas20 --- doc/api/sqlite.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 5cafacdc7623e9..e8419f2c87a77f 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -943,13 +943,13 @@ added: v22.5.0 without the prefix character. The names of SQLite parameters begin with a prefix character. By default, -`node:sqlite` requires that this prefix character is present when binding -parameters. However, with the exception of dollar sign character, these -prefix characters also require extra quoting when used in object keys. +`node:sqlite` allows binding named parameters without this prefix character in +the parameter object. With the exception of the dollar sign character, these +prefix characters require extra quoting when used in object keys. -To improve ergonomics, this method can be used to also allow bare named -parameters, which do not require the prefix character in JavaScript code. There -are several caveats to be aware of when enabling bare named parameters: +This method enables or disables support for bare named parameters, which do not +require the prefix character in JavaScript code. There are several caveats to +be aware of when bare named parameters are enabled: * The prefix character is still required in SQL. * The prefix character is still allowed in JavaScript. In fact, prefixed names