node:sqlite
StatementSync.run()
fails if named parameters are provided out of order with the statement's SQL.
#28183
Labels
node:sqlite
Issues related to the `node:sqlite` module
Version: Deno 2.2.0
Deno throws the following error:
for the following example using named parameters:
If the line in question is altered to
insert.run({ key: 1, val:'hello', });
match the named parameter order of the query it functions as expected, showing the following in the terminal:Have tested the exact same code in Node 22.13, and it accepts the named parameters object having the keys out of order and returns as expected on the terminal.
The text was updated successfully, but these errors were encountered: