Skip to content

doc: document sqlite parameter binding - #65089

Merged
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
araujogui:sqlite-parameter-binding
Aug 8, 2026
Merged

doc: document sqlite parameter binding#65089
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
araujogui:sqlite-parameter-binding

Conversation

@araujogui

@araujogui araujogui commented Aug 6, 2026

Copy link
Copy Markdown
Member

Only anonymous ? binding had an example. Add a "Binding parameters" section covering the $, :, and @ prefixes, bare names, and ?NNN, and link to it from the execution methods.

boolean, ArrayBuffer, and SharedArrayBuffer were missing from the type conversion table and the parameter type lists.

Refs: #62001
Refs: #62061

Copilot AI lite review requested due to automatic review settings August 6, 2026 17:04
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/sqlite

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the node:sqlite documentation by expanding guidance on parameter binding semantics and updating the documented type conversions/accepted bound value types to include boolean, ArrayBuffer, and SharedArrayBuffer.

Changes:

  • Add a dedicated “Binding parameters” section describing anonymous (?, ?NNN) and named ($, :, @) bindings, including bare-name behavior and related configuration methods.
  • Update the type conversion table and bound-parameter type lists to include boolean, ArrayBuffer, and SharedArrayBuffer.
  • Link statement execution methods to the new “Binding parameters” section and add reference anchors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread doc/api/sqlite.md Outdated
Comment thread doc/api/sqlite.md
@trivikr trivikr added doc Issues and PRs related to the documentations. sqlite Issues and PRs related to the SQLite subsystem. labels Aug 7, 2026
@trivikr

This comment was marked as outdated.

@araujogui
araujogui force-pushed the sqlite-parameter-binding branch from e8f4715 to af289a3 Compare August 7, 2026 20:09
@avivkeller avivkeller added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 8, 2026
Comment thread doc/api/sqlite.md
Comment thread doc/api/sqlite.md Outdated
@trivikr trivikr removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 8, 2026
@araujogui
araujogui force-pushed the sqlite-parameter-binding branch from 216b034 to e44f4c1 Compare August 8, 2026 13:42
Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>
@araujogui
araujogui force-pushed the sqlite-parameter-binding branch from e44f4c1 to 48409c5 Compare August 8, 2026 13:45
@trivikr trivikr added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 8, 2026
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 8, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/65089
✔  Done loading data for nodejs/node/pull/65089
----------------------------------- PR info ------------------------------------
Title      doc: document sqlite parameter binding (#65089)
Author     Guilherme Araújo <arauujogui@gmail.com> (@araujogui)
Branch     araujogui:sqlite-parameter-binding -> nodejs:main
Labels     doc, author ready, commit-queue-squash, sqlite
Commits    3
 - doc: document sqlite parameter binding
 - doc: fix bare named parameters and bigint
 - doc: clarify sqlite numbered parameters
Committers 1
 - Guilherme Araújo <arauujogui@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65089
Refs: https://github.com/nodejs/node/pull/62001
Refs: https://github.com/nodejs/node/pull/62061
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/65089
Refs: https://github.com/nodejs/node/pull/62001
Refs: https://github.com/nodejs/node/pull/62061
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Thu, 06 Aug 2026 17:04:02 GMT
   ✔  Approvals: 2
   ✔  - Aviv Keller (@avivkeller): https://github.com/nodejs/node/pull/65089#pullrequestreview-4879665364
   ✔  - Trivikram Kamat (@trivikr): https://github.com/nodejs/node/pull/65089#pullrequestreview-4888913502
   ✘  This PR needs to wait 3 more hours to land
   ✘  1 GitHub CI job(s) failed:
   ✘    - test-linux (ubuntu-24.04): FAILURE (https://github.com/nodejs/node/actions/runs/31260315548/job/93110033166)
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/31262749408

@trivikr trivikr added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Aug 8, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 8, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 114e356 into nodejs:main Aug 8, 2026
35 of 36 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 114e356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. doc Issues and PRs related to the documentations. sqlite Issues and PRs related to the SQLite subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants