Skip to content

node:sqlite is missing options present since Node v24.4.0 (backported to v22.18.0) #31346

@varanauskas

Description

@varanauskas

I want to use readBigInts as a DatabaseSync option that is missing in Deno currently but present in Node.js since Node v24.4.0 (backported to v22.18.0)

nodejs/node#58697
Node has introduced these additional options to new DatabaseSync(path[, options]):

  • readBigInts {boolean} If true, integer fields are read as JavaScript BigInt values. If false,
    integer fields are read as JavaScript numbers. Default: false.
  • returnArrays {boolean} If true, query results are returned as arrays instead of objects.
    Default: false.
  • allowBareNamedParameters {boolean} If true, allows binding named parameters without the prefix
    character (e.g., foo instead of :foo). Default: true.
  • allowUnknownNamedParameters {boolean} If true, unknown named parameters are ignored when binding.
    If false, an exception is thrown for unknown named parameters. Default: false

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions