MongoDB C++ Driver  mongocxx-3.1.0
Public Member Functions | List of all members
mongocxx::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. More...
 
std::int32_t deleted_count () const
 Gets the number of documents that were deleted during this operation. More...
 

Detailed Description

Class representing the result of a MongoDB delete operation.

Member Function Documentation

std::int32_t mongocxx::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.
const result::bulk_write& mongocxx::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: