Skip to content

doc: document sqlite parameter binding - #65089

Open
araujogui wants to merge 2 commits into
nodejs:mainfrom
araujogui:sqlite-parameter-binding
Open

doc: document sqlite parameter binding#65089
araujogui wants to merge 2 commits into
nodejs:mainfrom
araujogui:sqlite-parameter-binding

Conversation

@araujogui

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

Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants