userver: storages::mongo::bulk_ops::InsertOne 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::bulk_ops::InsertOne Class Reference

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

Detailed Description

Inserts a single document as part of bulk operation.

Definition at line 21 of file bulk_ops.hpp.

Public Member Functions

 InsertOne (formats::bson::Document document)
 
 InsertOne (const InsertOne &)
 
 InsertOne (InsertOne &&) noexcept
 
InsertOneoperator= (const InsertOne &)
 
InsertOneoperator= (InsertOne &&) noexcept
 
void SetOption () const
 

Member Function Documentation

◆ SetOption()

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

Definition at line 31 of file bulk_ops.hpp.

Friends And Related Symbol Documentation

◆ storages::mongo::operations::Bulk

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

Definition at line 34 of file bulk_ops.hpp.


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