- Preparing search index...
- The search index is not available
kysely
Methods
end
- end(callback): void
-
Parameters
-
callback: ((error) => void)
-
- (error): void
-
Returns void
Returns void
getConnection
- getConnection(callback): void
-
Parameters
-
callback: ((error, connection) => void)
-
- (error, connection): void
-
Returns void
Returns void
This interface is the subset of mysql2 driver's
Pool
class that kysely needs.We don't use the type from
mysql2
here to not have a dependency to it.https://github.com/sidorares/node-mysql2#using-connection-pools