- Preparing search index...
- The search index is not available
kysely
Interface ConnectionProvider
Methods
provideConnection
- provideConnection<T>(consumer): Promise<T>
-
Parameters
-
consumer: ((connection) => Promise<T>)
-
- (connection): Promise<T>
-
Returns Promise<T>
Returns Promise<T>
Provides a connection for the callback and takes care of disposing the connection after the callback has been run.