We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45288c commit 93e9397Copy full SHA for 93e9397
src/databases/duckdb.ts
@@ -19,7 +19,7 @@ export default function duckdb({path, options}: DuckDBConfig): QueryTemplateFunc
19
let rows: Record<string, Json>[];
20
try {
21
result = await connection.run(
22
- strings.reduce((p, c, i) => `${p}$${i - 1}${c}`),
+ strings.reduce((p, c, i) => `${p}$${i}${c}`),
23
params
24
);
25
rows = await result.getRowObjectsJson();
0 commit comments