#include <userver/storages/mongo/operations.hpp>
Atomically updates a document and returns either previous or new version.
Definition at line 252 of file operations.hpp.
Public Member Functions | |
FindAndModify (formats::bson::Document query, const formats::bson::Document &update) | |
FindAndModify (const FindAndModify &)=delete | |
FindAndModify (FindAndModify &&) noexcept | |
FindAndModify & | operator= (const FindAndModify &)=delete |
FindAndModify & | operator= (FindAndModify &&) noexcept |
void | SetOption (options::ReturnNew) |
void | SetOption (options::Upsert) |
void | SetOption (options::RetryDuplicateKey) |
void | SetOption (const options::Sort &) |
void | SetOption (options::Projection) |
void | SetOption (options::WriteConcern::Level) |
void | SetOption (const options::WriteConcern &) |
void | SetOption (const options::MaxServerTime &) |
void | SetOption (const options::ArrayFilters &) |