GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify sqlite bare parameter default · nodejs/node@2ba198d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • sqlite.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/sqlite.md‎

Copy file name to clipboardExpand all lines: doc/api/sqlite.md
+6-6Lines changed: 6 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1110,13 +1110,13 @@ added: v22.5.0
11101110
without the prefix character.
11111111

11121112
The names of SQLite parameters begin with a prefix character. By default,
1113-
`node:sqlite` requires that this prefix character is present when binding
1114-
parameters. However, with the exception of dollar sign character, these
1115-
prefix characters also require extra quoting when used in object keys.
1113+
`node:sqlite` allows binding named parameters without this prefix character in
1114+
the parameter object. With the exception of the dollar sign character, these
1115+
prefix characters require extra quoting when used in object keys.
11161116

1117-
To improve ergonomics, this method can be used to also allow bare named
1118-
parameters, which do not require the prefix character in JavaScript code. There
1119-
are several caveats to be aware of when enabling bare named parameters:
1117+
This method enables or disables support for bare named parameters, which do not
1118+
require the prefix character in JavaScript code. There are several caveats to
1119+
be aware of when bare named parameters are enabled:
11201120

11211121
* The prefix character is still required in SQL.
11221122
* The prefix character is still allowed in JavaScript. In fact, prefixed names

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.