Skip to content

Commit

Permalink
Merge pull request #20 from jcralmeida/fixbug/add-close-method-to-typ…
Browse files Browse the repository at this point in the history
…escript-types

Add close() method for connection on typescript types
  • Loading branch information
Mytherin authored Oct 30, 2023
2 parents f226d18 + 9df1314 commit 2722553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/duckdb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export type ArrowArray = Uint8Array[];
export class Connection {
constructor(db: Database, callback?: Callback<any>);

close(callback?: Callback<void>): void;

all(sql: string, ...args: [...any, Callback<TableData>] | []): void;
arrowIPCAll(sql: string, ...args: [...any, Callback<ArrowArray>] | []): void;
each(sql: string, ...args: [...any, Callback<RowData>] | []): void;
Expand Down

0 comments on commit 2722553

Please sign in to comment.