17#include <bsoncxx/document/view_or_value.hpp>
19#include <mongocxx/config/prelude.hpp>
22MONGOCXX_INLINE_NAMESPACE_BEGIN
51MONGOCXX_INLINE_NAMESPACE_END
54#include <mongocxx/config/postlude.hpp>
Class representing a MongoDB delete operation that removes a single document.
Definition delete_one.hpp:28
delete_one(bsoncxx::document::view_or_value filter)
Constructs a delete operation that will delete the first document matching the filter.
const bsoncxx::document::view_or_value & filter() const
Gets the filter on this delete operation.