PushSortDsl
DSL for sorting elements during a $push operation.
See push and PushBuilder.sort.
Functions
Adds a new node as a child of this one.
Adds any number of nodes into this one.
If two documents have a different value of field, the one with greater value will be returned first.
Sort array elements in descending order (for simple values, not documents).
Refers to child as a nested field of the current field.
Makes this node immutable.
Refers to a specific item in an array, by its index.
Refers to a specific item in a map, by its name.
Refers to a child item of a field of type BsonArray.
Refers to a child field of a field of type BsonDocument.
Refers to a root field of the document being analyzed.
Returns a simplified (but equivalent) expression to the current expression.
Writes the result of simplifying to a new BsonDocument.
Overwrites the represented type of this field.
Writes the result of simplifying this expression into writer.