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

#include <mongocxx/v1/client_bulk_write.hpp>

Description

Options for an "Update Many" operation in a client bulk write.

Supported fields include:

Public Member Functions

 update_many_options ()
 Default initialization.
 update_many_options (update_many_options &&other) noexcept
 Move constructor.
 update_many_options (update_many_options const &other)
 Copy construction.
 ~update_many_options ()
 Destroy this object.
bsoncxx::v1::stdx::optional< bsoncxx::v1::array::viewarray_filters () const
 Return the current "arrayFilters" field.
update_many_optionsarray_filters (bsoncxx::v1::array::value v)
 Set the "arrayFilters" field.
bsoncxx::v1::stdx::optional< bsoncxx::v1::document::viewcollation () const
 Return the current "collation" field.
update_many_optionscollation (bsoncxx::v1::document::value v)
 Set the "collation" field.
bsoncxx::v1::stdx::optional< v1::hinthint () const
 Return the current "hint" field.
update_many_optionshint (v1::hint v)
 Set the "hint" field.
update_many_optionsoperator= (update_many_options &&other) noexcept
 Move assignment.
update_many_optionsoperator= (update_many_options const &other)
 Copy assignment.
bsoncxx::v1::stdx::optional< bool > upsert () const
 Return the current "upsert" field.
update_many_optionsupsert (bool v)
 Set the "upsert" field.

Constructor & Destructor Documentation

◆ ~update_many_options()

Destroy this object.

Warning
Invalidates all associated views.

◆ update_many_options() [1/3]

Move constructor.

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

◆ update_many_options() [2/3]

Copy construction.

◆ update_many_options() [3/3]

Member Function Documentation

◆ array_filters() [1/2]

◆ array_filters() [2/2]

◆ collation() [1/2]

◆ collation() [2/2]

◆ hint() [1/2]

◆ hint() [2/2]

◆ operator=() [1/2]

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

Move assignment.

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

◆ operator=() [2/2]

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

Copy assignment.

◆ upsert() [1/2]

◆ upsert() [2/2]


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