Instance Subscriptswift-mongodb 0.27.0MongoQL->Mongo
subscript(_:using:_:)
Mongo.FindAndModify.swift:159subscript<IndexKey>(key: Hint, using _: IndexKey.Type = IndexKey.self, yield: (inout Mongo.SortEncoder<IndexKey>) -> ()) -> Void where IndexKey : RawRepresentable, IndexKey.RawValue == String { mutating get }
Other members in extension
Types
Typealiases
Type members
init(Mongo.Collection, writeConcern: Mongo.WriteConcern?, returning: Effect.Phase
) init(Mongo.Collection, writeConcern: Mongo.WriteConcern?, returning: Effect.Phase, with: (inout `Self`) throws -> ()
) rethrows static var type: Mongo.CommandType
static func decode(reply: BSON.DocumentDecoder<BSON.Key>
) throws -> (value: Effect.Value, upserted: Effect.ID?)
Instance members
subscript(Collation
) -> Mongo.Collation? subscript(Hint
) -> String? subscript(Flag
) -> Bool? subscript<ProjectionDocument>(Fields
) -> ProjectionDocument? Encodes a projection document from a model type.
subscript(Let, (inout Mongo.LetEncoder) -> ()
) -> Void subscript(Query, (inout Mongo.PredicateEncoder) -> ()
) -> Void subscript<CodingKey>(Sort, using: CodingKey.Type, (inout Mongo.SortEncoder<CodingKey>) -> ()
) -> Void subscript<CodingKey>(Fields, using: CodingKey.Type, (inout Mongo.ProjectionEncoder<CodingKey>) -> ()
) -> Void Encodes a projection document.