kysely
Version:
Type safe SQL query builder
17 lines (16 loc) • 479 B
JavaScript
/// <reference types="./default-connection-provider.d.ts" />
export class DefaultConnectionProvider {
constructor(driver) {
this.
}
async provideConnection(consumer, options) {
const connection = await this.
try {
return await consumer(connection);
}
finally {
await this.
}
}
}