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
I want to use
readBigIntsas aDatabaseSyncoption 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} Iftrue, integer fields are read as JavaScriptBigIntvalues. Iffalse,integer fields are read as JavaScript numbers. Default:
false.returnArrays{boolean} Iftrue, query results are returned as arrays instead of objects.Default:
false.allowBareNamedParameters{boolean} Iftrue, allows binding named parameters without the prefixcharacter (e.g.,
fooinstead of:foo). Default:true.allowUnknownNamedParameters{boolean} Iftrue, unknown named parameters are ignored when binding.If
false, an exception is thrown for unknown named parameters. Default:false