- <init>
- returnDocument
Set whether to return the document before it was updated / inserted or after
- upsert
Set to true if a new document should be inserted if there are no matches to the
query filter.
- projection
Sets a document describing the fields to return for all matching documents.
- sort
Sets the sort criteria to apply to the query.
- getArrayFilters
Returns the array filters option
- getCollation
Returns the collation options
- getMaxTime
Gets the maximum execution time for the find one and update operation.
- getProjection
Gets a document describing the fields to return for all matching documents.
- getReturnDocument
Gets the ReturnDocument value indicating whether to return the document before
it was updated / inse
- getSort
Gets the sort criteria to apply to the query. The default is null, which means
that the documents wi
- isUpsert
Returns true if a new document should be inserted if there are no matches to the
query filter. The d