Interface ReplicationPoolConfig<Connection, ConnectionOptions>
Type Parameters
- Connection extends object
- ConnectionOptions extends object
Properties
Optional
timeoutErrorClass
timeoutErrorClass?: Class<Error> Methods
Optional
afterAcquire
- afterAcquire(connection, options): Promise<void>
Optional
beforeAcquire
- beforeAcquire(options): Promise<void>
disconnect
- disconnect(connection): Promise<void>
validate
- validate(connection): boolean
Returns boolean