- <init>
- upsert
Set to true if a new document should be inserted if there are no matches to the
query filter.
- returnDocument
Set whether to return the document before it was replaced or after
- sort
Sets the sort criteria to apply to the query.
- getCollation
Returns the collation options
- getMaxTime
Gets the maximum execution time for the find one and replace 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 replaced or af
- 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
- projection
Sets a document describing the fields to return for all matching documents.
- collation
Sets the collation optionsA null value represents the server default.