#include <userver/storages/mongo/operations.hpp>
Updates documents.
Definition at line 193 of file operations.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 | |
| Update & | operator= (const Update &) | 
| Update & | operator= (Update &&) noexcept | 
| void | SetOption (options::Upsert) | 
| void | SetOption (options::RetryDuplicateKey) | 
| void | SetOption (options::WriteConcern::Level) | 
| void | SetOption (const options::WriteConcern &) | 
| void | SetOption (options::SuppressServerExceptions) | 
| void | SetOption (const options::ArrayFilters &) | 
| void | SetOption (const options::Hint &) | 
      
  | 
  strong | 
Definition at line 195 of file operations.hpp.
| void storages::mongo::operations::Update::SetOption | ( | const options::Hint & | ) |