Connection

public class Connection
extension Connection: Equatable

Undocumented

  • Undocumented

    Declaration

    Swift

    public static let defaultName: String
  • Undocumented

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let option: Option
  • Undocumented

    Declaration

    Swift

    public let entities: [Entity]
  • Undocumented

    Declaration

    Swift

    public init(name: String = Connection.defaultName, option: Option, entities: [Entity] = .init())
  • connect() Asynchronous

    Undocumented

    Declaration

    Swift

    public func connect() async throws
  • disconnect() Asynchronous

    Undocumented

    Declaration

    Swift

    public func disconnect() async throws
  • Undocumented

    See more

    Declaration

    Swift

    public struct Option : Equatable
  • Declaration

    Swift

    public static func == (lhs: Connection, rhs: Connection) -> Bool