Instance Methodswift-mongodb 0.27.0MongoDriver->Mongo
encode(to:)
Mongo.ReadPreference.Hedging.swift:15func encode(to bson: inout BSON.DocumentEncoder<BSON.Key>)
func encode(to bson: inout BSON.DocumentEncoder<BSON.Key>)
s5MongoAAO0A6DriverE14ReadPreferenceO7HedgingO6encode2toy7BSONABI4BSONO12BSONEncodingE15DocumentEncoderVy_AL3KeyVGz_tF
What are these?
FNV24: [3UWNS]
import MongoDriver
import Mongo
A single-type module that declares the Mongo
namespace.
@frozen enum Hedging
enum Mongo
@frozen enum ReadPreference
@frozen enum BSON
The namespace for all BSON types.
@frozen struct DocumentEncoder<CodingKey> where CodingKey : RawRepresentable, CodingKey.RawValue == String
@frozen struct Key
A 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.)