MongoDB C++ Driver 4.4.0
Loading...
Searching...
No Matches
mongocxx::client_bulk_write::delete_one_options Class Reference

#include <mongocxx/v1/client_bulk_write.hpp>

Description

Options for a "Delete One" operation in a client bulk write.

Supported fields include:

Public Member Functions

 delete_one_options ()
 Default initialization.
 delete_one_options (delete_one_options &&other) noexcept
 Move constructor.
 delete_one_options (delete_one_options const &other)
 Copy construction.
 ~delete_one_options ()
 Destroy this object.
bsoncxx::v1::stdx::optional< bsoncxx::v1::document::viewcollation () const
 Return the current "collation" field.
delete_one_optionscollation (bsoncxx::v1::document::value v)
 Set the "collation" field.
bsoncxx::v1::stdx::optional< v1::hinthint () const
 Return the current "hint" field.
delete_one_optionshint (v1::hint v)
 Set the "hint" field.
delete_one_optionsoperator= (delete_one_options &&other) noexcept
 Move assignment.
delete_one_optionsoperator= (delete_one_options const &other)
 Copy assignment.

Constructor & Destructor Documentation

◆ ~delete_one_options()

Destroy this object.

Warning
Invalidates all associated views.

◆ delete_one_options() [1/3]

Move constructor.

Postconditions:
  • other is in an assign-or-destroy-only state.

◆ delete_one_options() [2/3]

Copy construction.

◆ delete_one_options() [3/3]

Member Function Documentation

◆ collation() [1/2]

◆ collation() [2/2]

◆ hint() [1/2]

◆ hint() [2/2]

◆ operator=() [1/2]

delete_one_options & mongocxx::v1::client_bulk_write::delete_one_options::operator= ( delete_one_options && other)
noexcept

Move assignment.

Postconditions:
  • other is in an assign-or-destroy-only state.

◆ operator=() [2/2]

delete_one_options & mongocxx::v1::client_bulk_write::delete_one_options::operator= ( delete_one_options const & other)

Copy assignment.


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