userver: storages::mongo::operations::InsertMany 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::InsertMany Class Reference

Inserts multiple documents. More...

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

Public Member Functions

 InsertMany (std::vector< formats::bson::Document > documents)
 
 InsertMany (const InsertMany &)
 
 InsertMany (InsertMany &&) noexcept
 
InsertManyoperator= (const InsertMany &)
 
InsertManyoperator= (InsertMany &&) noexcept
 
void Append (formats::bson::Document document)
 
void SetOption (options::Unordered)
 
void SetOption (options::WriteConcern::Level)
 
void SetOption (const options::WriteConcern &)
 
void SetOption (options::SuppressServerExceptions)
 

Detailed Description

Inserts multiple documents.

Definition at line 137 of file operations.hpp.


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