returnDocument - Specifies whether to return the original or updated document.
upsert - If true, perform an insert if no documents match the filter.
sort - The sort order to pick which document to replace if the filter selects multiple documents.
projection - Specifies which fields should be included/excluded in the returned documents.
includeResultMetadata - When true, returns alongside the document, an ok
field with a value of 1 if the command executed successfully.
timeout - The timeout override for this method
Collection.findOneAndUpdate
Represents the options for the
findOneAndUpdate
command.