Option

public struct Option : Equatable

Undocumented

  • Undocumented

    Declaration

    Swift

    public static let defaultHost: String
  • Undocumented

    Declaration

    Swift

    public var driver: Driver
  • Undocumented

    Declaration

    Swift

    public var host: String
  • Undocumented

    Declaration

    Swift

    public var port: Int
  • Undocumented

    Declaration

    Swift

    public var username: String?
  • Undocumented

    Declaration

    Swift

    public var password: String?
  • Undocumented

    Declaration

    Swift

    public var database: String?
  • Undocumented

    Declaration

    Swift

    public init(
        driver: Driver,
        host: String = Option.defaultHost,
        username: String? = nil,
        password: String? = nil,
        database: String? = nil
    )
  • Undocumented

    Declaration

    Swift

    public init(
        driver: Driver,
        host: String = Option.defaultHost,
        port: Int,
        username: String? = nil,
        password: String? = nil,
        database: String? = nil
    )
  • Undocumented

    Declaration

    Swift

    public init?(url: URL)