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
Poolclass that kysely needs.We don't use the type from
mysql2here to not have a dependency to it.https://github.com/sidorares/node-mysql2#using-connection-pools