130 _hint = std::move(index_hint);
161 return {std::move(v)};
A BSON document.
Definition value.hpp:46
A polyfill for std::optional<T>.
Definition optional.hpp:799
delete_many(v1::bulk_write::delete_many op)
Construct with the mongocxx::v1 equivalent.
A single "Delete Many" write operation.
Definition bulk_write.hpp:675
delete_many & collation(bsoncxx::v1::document::value v)
Set the "collation" field.
delete_many & hint(v1::hint v)
Set the "hint" field.
A batch of write operations that can be sent to the server as a group.
Definition bulk_write.hpp:54
The index to "hint" or force a MongoDB server to use when performing a query.
Definition hint.hpp:42
A MongoDB delete operation that removes multiple documents.
Definition delete_many.hpp:42
delete_many(bsoncxx::v_noabi::document::view_or_value filter)
Constructs a delete operation that will delete all documents matching the filter.
Definition delete_many.hpp:75
delete_many(v1::bulk_write::delete_many op)
Construct with the mongocxx::v1 equivalent.
delete_many & collation(bsoncxx::v_noabi::document::view_or_value collation)
Sets the collation for this delete operation.
Definition delete_many.hpp:99
delete_many & hint(v_noabi::hint index_hint)
Sets the index to use for this operation.
Definition delete_many.hpp:129
bsoncxx::v_noabi::stdx::optional< v_noabi::hint > const & hint() const
Gets the current hint.
Definition delete_many.hpp:139
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::document::view_or_value > const & collation() const
Gets the collation option for this delete operation.
Definition delete_many.hpp:113
bsoncxx::v_noabi::document::view_or_value const & filter() const
Gets the filter for this delete operation.
Definition delete_many.hpp:82
Declares mongocxx::v_noabi::model::delete_many.
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
v_noabi::view_or_value< v_noabi::document::view, v_noabi::document::value > view_or_value
Equivalent to v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value>.
Definition view_or_value.hpp:30
v1::element::view to_v1(v_noabi::array::element const &v)
Convert to the bsoncxx::v1 equivalent of v.
Definition element.hpp:132
Declares entities whose ABI stability is guaranteed for documented symbols.
Declares entities representing bulk write operations.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Provides entities related to write operations.
Provides bsoncxx::v1::document::value.
Provides bsoncxx::v_noabi::document::view.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::hint.