userver: storages::mongo::bulk_ops::Delete Class Reference
Loading...
Searching...
No Matches
storages::mongo::bulk_ops::Delete Class Reference

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

Detailed Description

Deletes documents as part of bulk operation.

Definition at line 97 of file bulk_ops.hpp.

Public Types

enum class  Mode {
  kSingle ,
  kMulti
}
 

Public Member Functions

 Delete (Mode mode, formats::bson::Document selector)
 
 Delete (const Delete &)
 
 Delete (Delete &&) noexcept
 
Deleteoperator= (const Delete &)
 
Deleteoperator= (Delete &&) noexcept
 
void SetOption () const
 

Member Enumeration Documentation

◆ Mode

enum class storages::mongo::bulk_ops::Delete::Mode
strong

Definition at line 99 of file bulk_ops.hpp.

Member Function Documentation

◆ SetOption()

void storages::mongo::bulk_ops::Delete::SetOption ( ) const
inline

Definition at line 109 of file bulk_ops.hpp.

Friends And Related Symbol Documentation

◆ storages::mongo::operations::Bulk

friend class storages::mongo::operations::Bulk
friend

Definition at line 112 of file bulk_ops.hpp.


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