Type Method
sqlite(_:maxConnectionsPerEventLoop:connectionPoolTimeout:dataEncoder:dataDecoder:sqlLogLevel:)
Return a configuration factory using the provided parameters.
static func sqlite(_ configuration: SQLiteConfiguration = .memory, maxConnectionsPerEventLoop: Int = 1, connectionPoolTimeout: TimeAmount = .seconds(10), dataEncoder: SQLiteDataEncoder, dataDecoder: SQLiteDataDecoder, sqlLogLevel: Logger.Level?) -> DatabaseConfigurationFactory
Parameters
configurationThe underlying
SQLiteConfiguration.maxConnectionsPerEventLoopIgnored. The value is always treated as 1.
dataEncoderAn
SQLiteDataEncoderused to translate bound query parameters intoSQLiteDatavalues.dataDecoderAn
SQLiteDataDecoderused to translateSQLiteDatavalues into output values.
Return Value
A configuration factory,