MongoDB C++ Driver
mongocxx-3.6.2
|
19 #include <bsoncxx/stdx/optional.hpp>
20 #include <bsoncxx/types.hpp>
21 #include <mongocxx/result/bulk_write.hpp>
22 #include <mongocxx/stdx.hpp>
24 #include <mongocxx/config/prelude.hpp>
27 MONGOCXX_INLINE_NAMESPACE_BEGIN
61 stdx::optional<bsoncxx::document::element>
upserted_id()
const;
66 friend MONGOCXX_API
bool MONGOCXX_CALL operator==(
const update&,
const update&);
67 friend MONGOCXX_API
bool MONGOCXX_CALL operator!=(
const update&,
const update&);
71 MONGOCXX_INLINE_NAMESPACE_END
74 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
Class representing the result of a MongoDB bulk write operation.
Definition: bulk_write.hpp:34
std::int32_t matched_count() const
Gets the number of documents that were matched during this operation.
std::int32_t modified_count() const
Gets the number of documents that were modified during this operation.
Class representing the result of a MongoDB update operation.
Definition: update.hpp:31
stdx::optional< bsoncxx::document::element > upserted_id() const
If a document was upserted during this operation, gets the _id of the upserted document.
const result::bulk_write & result() const
Returns the bulk write result for this update operation.