MongoDB C++ Driver mongocxx-4.0.0
Loading...
Searching...
No Matches
mongocxx::v_noabi::result::delete_result Class Reference

#include <mongocxx/v_noabi/mongocxx/result/delete.hpp>

Description

Class representing the result of a MongoDB delete operation.

Public Member Functions

std::int32_t deleted_count () const
 Gets the number of documents that were deleted during this operation.
 
const result::bulk_writeresult () const
 Returns the bulk write result.
 

Member Function Documentation

◆ deleted_count()

std::int32_t mongocxx::v_noabi::result::delete_result::deleted_count ( ) const

Gets the number of documents that were deleted during this operation.

Returns
The number of documents that were deleted.

◆ result()

const result::bulk_write & mongocxx::v_noabi::result::delete_result::result ( ) const

Returns the bulk write result.

Returns
The raw bulk write result.

The documentation for this class was generated from the following file: