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.
timeout - The timeout override for this method
Collection.findOneAndReplace
Represents the options for the
findOneAndReplace
command.