Instance Subscriptswift-mongodb 0.27.0MongoBuiltins->Mongo
subscript(_:)
Mongo.ExpressionEncoder.swift:174This declaration is deprecated: Use subscript(_:_:) instead.
subscript<Predicate, Then, Else>(key: Cond) -> (if: Predicate?, then: Then?, else: Else?) where Predicate : BSONEncodable, Then : BSONEncodable, Else : BSONEncodable { get set }
Other members in extension
Types
enum Binary
enum Cond
enum Division
enum Element
enum Filter
enum In
enum Index
enum Log
enum Map
enum Pow
enum Quantization
enum Range
enum Reduce
enum Slice
enum SortArray
enum Subtract
enum Superlative
enum Switch
enum Unary
enum UnaryParenthesized
enum Variadic
enum Zip
Type members
Instance members
subscript(Map
) -> Mongo.MapDocument? subscript(Zip
) -> Mongo.ZipDocument? subscript(Filter
) -> Mongo.FilterDocument? subscript(Reduce
) -> Mongo.ReduceDocument? subscript(Switch
) -> Mongo.SwitchDocument? subscript(SortArray
) -> Mongo.SortArrayDocument? subscript<Sequence, Element, Start, End>(Index
) -> (in: Sequence?, of: Element?, from: Start?, to: End?) subscript<Sequence, Element>(Index
) -> (in: Sequence?, of: Element?) subscript<Array, Index>(Element
) -> (of: Array?, at: Index?) subscript<Base, Exponential>(Log
) -> (base: Base?, of: Exponential?) subscript<Base, Exponent>(Pow
) -> (base: Base?, to: Exponent?) subscript<Start, End, Step>(Range
) -> (from: Start?, to: End?, by: Step?) subscript<Start, End>(Range
) -> (from: Start?, to: End?) subscript<Fraction>(Quantization
) -> Fraction? subscript<Encodable>(UnaryParenthesized
) -> Encodable? Creates a
$not
or$isArray
expression. This subscript already brackets the expression when passing it in an argument tuple; doing so manually will create an expression that always evaluates to false for$not
(because an array evaluates to true), or true for$isArray
(because an array is an array).subscript<Encodable>(Unary
) -> Encodable? subscript<Encodable>(Variadic
) -> Encodable? subscript<Array, Index, Distance>(Slice
) -> (Array?, at: Index?, distance: Distance?) subscript<Dividend, Divisor>(Division
) -> (Dividend?, by: Divisor?) subscript<Encodable, Array>(In
) -> (Encodable?, in: Array?) subscript<Count, Array>(Superlative
) -> (Count?, of: Array?) subscript<Minuend, Difference>(Subtract
) -> (Minuend?, minus: Difference?) subscript<Fraction, Places>(Quantization
) -> (Fraction?, places: Places?) subscript<Array, Distance>(Slice
) -> (Array?, distance: Distance?) subscript<T0, T1, T2, T3>(Variadic
) -> (T0?, T1?, T2?, T3?) subscript<T0, T1, T2>(Variadic
) -> (T0?, T1?, T2?) subscript<First, Second>(Binary
) -> (First?, Second?) subscript<T0, T1>(Variadic
) -> (T0?, T1?) subscript(Cond, (inout Mongo.SetEncoder<Cond.Clause>) -> ()
) -> Void subscript(Unary, (inout Mongo.ExpressionEncoder) -> ()
) -> Void subscript(Variadic, (inout Mongo.ExpressionEncoder) -> ()
) -> Void subscript(Variadic, Int.Type, (inout Mongo.SetListEncoder) -> ()
) -> Void func move(
) -> BSON.Output