userver: storages::mongo::bulk_ops::Update Class Reference
Loading...
Searching...
No Matches
storages::mongo::bulk_ops::Update Class Reference

#include <userver/storages/mongo/bulk_ops.hpp>

Detailed Description

Updates documents as part of bulk operation.

Definition at line 70 of file bulk_ops.hpp.

Public Types

enum class  Mode {
  kSingle ,
  kMulti
}
 

Public Member Functions

 Update (Mode mode, formats::bson::Document selector, formats::bson::Document update)
 
 Update (const Update &)
 
 Update (Update &&) noexcept
 
Updateoperator= (const Update &)
 
Updateoperator= (Update &&) noexcept
 
void SetOption (options::Upsert)
 

Member Enumeration Documentation

◆ Mode

enum class storages::mongo::bulk_ops::Update::Mode
strong

Definition at line 72 of file bulk_ops.hpp.

Friends And Related Symbol Documentation

◆ storages::mongo::operations::Bulk

friend class storages::mongo::operations::Bulk
friend

Definition at line 86 of file bulk_ops.hpp.


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