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

Returns approximate number of documents in a collection. More...

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

Public Member Functions

 CountApprox (const CountApprox &)
 
 CountApprox (CountApprox &&) noexcept
 
CountApproxoperator= (const CountApprox &)
 
CountApproxoperator= (CountApprox &&) noexcept
 
void SetOption (const options::ReadPreference &)
 
void SetOption (options::ReadPreference::Mode)
 
void SetOption (options::ReadConcern)
 
void SetOption (options::Skip)
 
void SetOption (options::Limit)
 
void SetOption (const options::MaxServerTime &)
 

Detailed Description

Returns approximate number of documents in a collection.

Definition at line 50 of file operations.hpp.


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