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

Inserts a single document. More...

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

Public Member Functions

 InsertOne (formats::bson::Document document)
 
 InsertOne (const InsertOne &)
 
 InsertOne (InsertOne &&) noexcept
 
InsertOneoperator= (const InsertOne &)
 
InsertOneoperator= (InsertOne &&) noexcept
 
void SetOption (options::WriteConcern::Level)
 
void SetOption (const options::WriteConcern &)
 
void SetOption (options::SuppressServerExceptions)
 

Detailed Description

Inserts a single document.

Definition at line 112 of file operations.hpp.


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