userver: storages::mongo::operations::FindAndModify Class Reference
Loading...
Searching...
No Matches
storages::mongo::operations::FindAndModify Class Reference

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

Detailed Description

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
 
FindAndModifyoperator= (const FindAndModify &)=delete
 
FindAndModifyoperator= (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 &)
 

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