Operatorswift-mongodb 0.27.0MongoDriver->Mongo
~=(_:_:)
Mongo.ReadPreference.TagSet.swift:41static func ~= (lhs: `Self`, rhs: [BSON.Key : String]) -> Bool
Other members in extension
Type members
init(dictionaryLiteral: (BSON.Key, String)...
) init(patterns: [(key: BSON.Key, value: String)]
) static func == (lhs: `Self`, rhs: `Self`
) -> Bool
Instance members
let patterns: [(key: BSON.Key, value: String)]
The list of patterns that make up this tag set. Tag sets are like ordered dictionaries, but they never perform key lookups, so this is modeled as a plain array.
func encode(to: inout BSON.DocumentEncoder<BSON.Key>
)