Instance Subscriptswift-mongodb 0.27.0MongoQL->Mongo
subscript(_:using:_:)
Encodes a projection document.
Mongo.Find.swift:256subscript<CodingKey>(key: Projection, using _: CodingKey.Type = CodingKey.self, yield: (inout Mongo.ProjectionEncoder<CodingKey>) -> ()) -> Void where CodingKey : RawRepresentable, CodingKey.RawValue == String { mutating get }
Other members in extension
Types
Typealiases
typealias ExecutionPolicy
Find
supports retryable reads.typealias Response
Type members
static var type: Mongo.CommandType
The string
"find"
.static func decode(reply: BSON.DocumentDecoder<BSON.Key>
) throws -> Effect.Batch
Instance members
subscript(Range
) -> BSON.Document? subscript(Collation
) -> Mongo.Collation? subscript(Hint
) -> String? subscript(Flag
) -> Bool? subscript<ProjectionDocument>(Projection
) -> ProjectionDocument? Encodes a projection document from a model type.
subscript(Let, (inout Mongo.LetEncoder) -> ()
) -> Void subscript(Filter, (inout Mongo.PredicateEncoder) -> ()
) -> Void subscript<IndexKey>(Hint, using: IndexKey.Type, (inout Mongo.SortEncoder<IndexKey>) -> ()
) -> Void subscript<CodingKey>(Sort, using: CodingKey.Type, (inout Mongo.SortEncoder<CodingKey>) -> ()
) -> Void