MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mongocxx::v_noabi::result::delete_result Class Reference

Class representing the result of a MongoDB delete operation. More...

#include <delete.hpp>

Public Member Functions

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

Detailed Description

Class representing the result of a MongoDB delete operation.

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: