Create a sort specification for an ascending sort on the given fields.
Create a sort specification for an ascending sort on the given fields.
the field names, which must contain at least one
the sort specification
Create a sort specification for an ascending sort on the given fields.
Create a sort specification for an ascending sort on the given fields.
the field names, which must contain at least one
the sort specification
Create a sort specification for the text score meta projection on the given field.
Create a sort specification for the text score meta projection on the given field.
the field name
the sort specification
Combine multiple sort specifications.
Combine multiple sort specifications. If any field names are repeated, the last one takes precendence.
the sort specifications
the combined sort specification
A factory for sort specifications. A convenient way to use this class is to statically import all of its methods, which allows usage like:
collection.find().sort(orderBy(ascending("x", "y"), descending("z")))
1.0