userver: storages::mongo::operations::FindAndRemove Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::mongo::operations::FindAndRemove Class Reference

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

Detailed Description

Atomically removes a document and returns it.

Definition at line 286 of file operations.hpp.

Public Member Functions

 FindAndRemove (formats::bson::Document query)
 
 FindAndRemove (const FindAndRemove &)=delete
 
 FindAndRemove (FindAndRemove &&) noexcept
 
FindAndRemoveoperator= (const FindAndRemove &)=delete
 
FindAndRemoveoperator= (FindAndRemove &&) noexcept
 
void SetOption (const options::Sort &)
 
void SetOption (options::Projection)
 
void SetOption (options::WriteConcern::Level)
 
void SetOption (const options::WriteConcern &)
 
void SetOption (const options::MaxServerTime &)
 

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