MongoDB C++ Driver  mongocxx-3.0.2
Public Member Functions | List of all members
mongocxx::options::delete_options Class Reference

Class representing the optional arguments to a MongoDB delete operation. More...

#include <delete.hpp>

Public Member Functions

delete_optionswrite_concern (write_concern wc)
 Sets the write_concern for this operation. More...
 
const stdx::optional< class write_concern > & write_concern () const
 The current write_concern for this operation. More...
 

Detailed Description

Class representing the optional arguments to a MongoDB delete operation.

Member Function Documentation

delete_options& mongocxx::options::delete_options::write_concern ( write_concern  wc)

Sets the write_concern for this operation.

Parameters
wcThe new write_concern.
See also
http://docs.mongodb.org/manual/core/write-concern/
const stdx::optional<class write_concern>& mongocxx::options::delete_options::write_concern ( ) const

The current write_concern for this operation.

Returns
The current write_concern.
See also
http://docs.mongodb.org/manual/core/write-concern/

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