#include <userver/storages/mongo/bulk_ops.hpp>
Updates documents as part of bulk operation.
Definition at line 69 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 71 of file bulk_ops.hpp.
|
friend |
Definition at line 84 of file bulk_ops.hpp.