Skip to content

Commit

Permalink
Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-mabry committed Aug 27, 2024
1 parent 3c3150d commit d1613ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/connections/motherduck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ export class DuckDBConnection implements Connection {
const connection = this.connection
if (!connection) throw new Error('Please create a connection.')

try {
let result
let statement
let result
let statement = reconstructQuery(query.query, query.parameters as any[])

try {
if (Array.isArray(query.parameters)) {
const { res, fullQuery } = await runQuery(
connection,
Expand Down

0 comments on commit d1613ff

Please sign in to comment.