Initializerswift-mongodb 0.29.3MongoDriver->Mongo
init(dictionaryLiteral:)
Mongo.ReadPreference.TagSet.swift:33init(dictionaryLiteral: (BSON.Key, String)...) init(dictionaryLiteral: (BSON.Key, String)...) s5MongoAAO0A6DriverE14ReadPreferenceO6TagSetV17dictionaryLiteralAG7BSONABI4BSONO3KeyV_SStd_tcfc What are these?5SIJ0import MongoA single-type module that declares the Mongo namespace.
import MongoDriver@frozen struct TagSetA MongoDB tag set.
enum Mongo@frozen enum ReadPreference@frozen enum BSONThe namespace for all BSON types.
@frozen struct KeyA BSON field key. This type wraps a rawValue that is guaranteed to never contain null bytes. (Null bytes in a BSON field key can be exploited to perform SQL injection.)
@frozen struct StringA Unicode string value that is a collection of characters.
init(patterns: [(key: BSON.Key, value: String)]) 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.
static func == (lhs: Self, rhs: Self) -> Bool static func ~= (lhs: Self, rhs: [BSON.Key : String]) -> Bool func encode(to bson: inout BSON.DocumentEncoder<BSON.Key>)