#include <userver/storages/mongo/bulk_ops.hpp>
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 | |
Update & | operator= (const Update &) |
Update & | operator= (Update &&) noexcept |
void | SetOption (options::Upsert) |
|
strong |
Definition at line 72 of file bulk_ops.hpp.
|
friend |
Definition at line 86 of file bulk_ops.hpp.