Skip to content

Add EventLoopGroupConnectionPool database convenience

Pre-release
Pre-release
Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 06 Mar 02:54
8f6d4fa
This patch was authored and released by @tanner0101.

Adds a method for creating a PostgresDatabase from an EventLoopGroupConnectionPool.

let db = pool.database(logger: .init(label: "test"))