336 bsoncxx::
v_noabi::stdx::optional<
bool> _bypass_document_validation;
341 bsoncxx::
v_noabi::stdx::optional<std::chrono::milliseconds> _max_time;
353#include <mongocxx/config/postlude.hpp>
Used by mongocxx::v_noabi::collection.
Definition find_one_and_replace.hpp:39
find_one_and_replace & upsert(bool upsert)
Sets the upsert flag on the operation. When true, the operation creates a new document if no document...
find_one_and_replace & sort(bsoncxx::v_noabi::document::view_or_value ordering)
Sets the order by which to search the collection for a matching document.
find_one_and_replace & return_document(return_document return_document)
Set the desired version of the replaced document to return, either the original document,...
find_one_and_replace & let(bsoncxx::v_noabi::document::view_or_value let)
Set the value of the let option.
find_one_and_replace & comment(bsoncxx::v_noabi::types::bson_value::view_or_value comment)
Set the value of the comment option.
find_one_and_replace & bypass_document_validation(bool bypass_document_validation)
Whether or not to bypass document validation for this operation.
find_one_and_replace & projection(bsoncxx::v_noabi::document::view_or_value projection)
Sets a projection, which limits the fields to return.
find_one_and_replace & max_time(std::chrono::milliseconds max_time)
Sets the maximum amount of time for this operation to run (server-side) in milliseconds.
find_one_and_replace & write_concern(mongocxx::v_noabi::write_concern write_concern)
Sets the write concern for this operation.
find_one_and_replace & hint(mongocxx::v_noabi::hint index_hint)
Sets the index to use for this operation.
find_one_and_replace & collation(bsoncxx::v_noabi::document::view_or_value collation)
Sets the collation for this operation.
Provides bsoncxx::v_noabi::document::view_or_value.
Declares mongocxx::v_noabi::options::find_one_and_replace.
Provides mongocxx::v_noabi::options::return_document.
Provides mongocxx::v_noabi::hint.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::write_concern.