We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
requestConnection
1 parent 130c082 commit 449c9a1Copy full SHA for 449c9a1
Sources/PostgresBridge/PostgresBridge.swift
@@ -18,7 +18,7 @@ public struct PostgresBridge: ContextBridgeable {
18
}
19
20
/// Gives a connection to the database and you should close it by yourself
21
- func requestConnection(to db: DatabaseIdentifier) -> EventLoopFuture<PostgresConnection> {
+ public func requestConnection(to db: DatabaseIdentifier) -> EventLoopFuture<PostgresConnection> {
22
context.bridge.requestConnection(to: db, on: context.eventLoop)
23
24
0 commit comments