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
48 std::int32_t matched_count()
const;
54 std::int32_t modified_count()
const;
60 std::int32_t upserted_count()
const;
67 stdx::optional<bsoncxx::document::element> upserted_id()
const;
72 friend MONGOCXX_API
bool MONGOCXX_CALL operator==(
const update&,
const update&);
73 friend MONGOCXX_API
bool MONGOCXX_CALL operator!=(
const update&,
const update&);
77 MONGOCXX_INLINE_NAMESPACE_END
80 #include <mongocxx/config/postlude.hpp>