We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 401f892 commit e8abfb3Copy full SHA for e8abfb3
1 file changed
src/index.ts
@@ -438,8 +438,8 @@ export const typeORMDriver = {
438
fail(e);
439
}
440
},
441
- transaction: (fn: (tx: Transaction) => Promise<void>): void => {
442
- return QuickSQLite.transaction(options.name, fn);
+ transaction: (fn: (tx: Transaction) => Promise<void>): Promise<void> => {
+ return QuickSQLite.transactionAsync(options.name, fn);
443
444
close: (ok: any, fail: any) => {
445
try {
0 commit comments