Instance Subscriptswift-mongodb 0.27.0MongoBuiltins->Mongo
subscript(_:_:)
Encodes a PredicateOperator
.
subscript(path: Mongo.AnyKeyPath, yield: (inout Mongo.PredicateOperatorEncoder) -> ()) -> Void { mutating get }
This does not require @_disfavoredOverload
, because PredicateOperator
has no subscripts that accept string literals, so it will never conflict with BSON.Document
.
Other members in extension
Types
Type members
Instance members
subscript<Encodable>(Mongo.AnyKeyPath
) -> Encodable? subscript<Encodable>(Expr
) -> Encodable? subscript<Encodable>(Comment
) -> Encodable? subscript(Mongo.AnyKeyPath, (inout Mongo.PredicateEncoder) -> ()
) -> Void Encodes a nested
PredicateDocument
.subscript(Expr, (inout Mongo.ExpressionEncoder) -> ()
) -> Void subscript(Branch, (inout Mongo.PredicateListEncoder) -> ()
) -> Void func move(
) -> BSON.Output