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 3f361f7 commit f6d80e7Copy full SHA for f6d80e7
package/src/types.ts
@@ -8,9 +8,9 @@ export interface NitroSQLiteConnection {
8
delete(): void
9
attach(dbNameToAttach: string, alias: string, location?: string): void
10
detach(alias: string): void
11
- transaction<Result = void>(
12
- fn: (tx: Transaction) => Promise<Result>,
13
- ): Promise<Result>
+ transaction: <Result = void>(
+ transactionCallback: (tx: Transaction) => Promise<Result>,
+ ) => Promise<Result>
14
execute: ExecuteQuery
15
executeAsync: ExecuteAsyncQuery
16
executeBatch(commands: BatchQueryCommand[]): BatchQueryResult
0 commit comments