17#include <bsoncxx/document/view_or_value.hpp>
18#include <bsoncxx/stdx/optional.hpp>
19#include <mongocxx/stdx.hpp>
21#include <mongocxx/config/prelude.hpp>
24MONGOCXX_INLINE_NAMESPACE_BEGIN
67 const stdx::optional<bsoncxx::document::view_or_value>&
collation()
const;
72 stdx::optional<bsoncxx::document::view_or_value> _collation;
76MONGOCXX_INLINE_NAMESPACE_END
79#include <mongocxx/config/postlude.hpp>
Class representing a MongoDB delete operation that removes a single document.
Definition delete_one.hpp:30
delete_one & collation(bsoncxx::document::view_or_value collation)
Sets the collation for this delete operation.
delete_one(bsoncxx::document::view_or_value filter)
Constructs a delete operation that will delete the first document matching the filter.
const stdx::optional< bsoncxx::document::view_or_value > & collation() const
Gets the collation option for this delete operation.
const bsoncxx::document::view_or_value & filter() const
Gets the filter on this delete operation.
Top level namespace for the MongoDB C++ driver.
Definition bulk_write.hpp:22