Scheme
public struct Scheme : LosslessStringConvertible, Equatable
Represents a connection string scheme.
-
Indicates that this connection string uses the scheme
mongodb
.Declaration
Swift
public static let mongodb: MongoConnectionString.Scheme
-
Indicates that this connection string uses the scheme
mongodb+srv
.Declaration
Swift
public static let srv: MongoConnectionString.Scheme
-
LosslessStringConvertible` protocol requirements
Declaration
Swift
public init?(_ description: String)
-
Declaration
Swift
public var description: String { get }