Skip to content

Commit

Permalink
Re add executeAsync for drizzle
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Jan 26, 2025
1 parent 5084f56 commit c4f8ab5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,12 @@ function enhanceDB(db: InternalDB, options: DBParams): DB {

return res;
},
executeAsync: async (
query: string,
params?: Scalar[] | undefined
): Promise<QueryResult> => {
return db.execute(query, params);
},
execute: async (
query: string,
params?: Scalar[] | undefined
Expand Down

0 comments on commit c4f8ab5

Please sign in to comment.