Skip to content

Type MethodFluentKit

postgres(configuration:maxConnectionsPerEventLoop:connectionPoolTimeout:encoder:decoder:sqlLogLevel:)

Deprecated

Use `.postgres(configuration:maxConnectionsPerEventLoop:connectionPoolTimeout:encodingContext:decodingContext:sqlLogLevel:)` instead.

static func postgres(configuration: PostgresConfiguration, maxConnectionsPerEventLoop: Int = 1, connectionPoolTimeout: TimeAmount = .seconds(10), encoder: PostgresDataEncoder = .init(), decoder: PostgresDataDecoder = .init(), sqlLogLevel: Logger.Level = .debug) -> DatabaseConfigurationFactory