PostgreSQL
public final class PostgreSQL
Undocumented
-
Undocumented
Declaration
Swift
public let eventLoopGroup: EventLoopGroup
-
Undocumented
Declaration
Swift
public let configuration: Configuration
-
Undocumented
Declaration
Swift
public let logger: Logger
-
Undocumented
Declaration
Swift
public let channel: Channel
-
Undocumented
Declaration
Swift
public private(set) var isOpen: Bool { get }
-
Undocumented
Declaration
Swift
public internal(set) var serverParameters: [String : String] { get }
-
init(eventLoopGroup:
Asynchronousconfiguration: ) Undocumented
Declaration
Swift
public init(eventLoopGroup: EventLoopGroup? = nil, configuration: Configuration = .init()) async throws
-
close()
AsynchronousUndocumented
Declaration
Swift
public func close() async throws
-
simpleQuery(_:
Asynchronous) Undocumented
Declaration
Swift
@discardableResult public func simpleQuery(_ string: String) async throws -> [Result]
-
query(_:
Asynchronousname: arguments: ) Undocumented
Declaration
Swift
@discardableResult public func query( _ string: String, name: String = "", arguments parameters: PostgreSQLCodable?... ) async throws -> Result?
-
query(_:
Asynchronousname: arguments: ) Undocumented
Declaration
Swift
@discardableResult public func query( _ string: String, name: String = "", arguments parameters: [PostgreSQLCodable?] ) async throws -> Result?
-
beginTransaction()
AsynchronousUndocumented
Declaration
Swift
public func beginTransaction() async throws
-
commitTransaction()
AsynchronousUndocumented
Declaration
Swift
public func commitTransaction() async throws
-
rollbackTransaction()
AsynchronousUndocumented
Declaration
Swift
public func rollbackTransaction() async throws
-
Undocumented
See moreDeclaration
Swift
public struct Configuration : Equatable