Top level string key of document.
Represents the query for documents, and can take one of the values:
Value type | Query behaviour |
---|---|
IndexValue | Search documents by their primary key. |
QueryConditions | Search documents by mongoose schema. Only a limited subset of operators are supported. |
UnaryPredicate | Search documents by predicate function. |
Sort order for found documents.
Documents will be sorted by specified fields, in the order they appear as keys in the object.
Defines the property name of the primary key.
Indexed key of document. Can be expressed in dot notation for nested keys.