Initial commit - Event Planner application
This commit is contained in:
8
node_modules/kysely/dist/cjs/driver/connection-provider.d.ts
generated
vendored
Normal file
8
node_modules/kysely/dist/cjs/driver/connection-provider.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { DatabaseConnection } from './database-connection.js';
|
||||
export interface ConnectionProvider {
|
||||
/**
|
||||
* Provides a connection for the callback and takes care of disposing
|
||||
* the connection after the callback has been run.
|
||||
*/
|
||||
provideConnection<T>(consumer: (connection: DatabaseConnection) => Promise<T>): Promise<T>;
|
||||
}
|
||||
Reference in New Issue
Block a user