userver: storages::mongo::options::BatchSize Class Reference
Loading...
Searching...
No Matches
storages::mongo::options::BatchSize Class Reference

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

Detailed Description

Specifies the number of documents per wire-protocol batch. Controls both the initial find batch and subsequent getMore batches.

Note
The value of 0 means "use server default".

Definition at line 165 of file options.hpp.

Public Member Functions

 BatchSize (size_t value)
 
size_t Value () const
 

Constructor & Destructor Documentation

◆ BatchSize()

storages::mongo::options::BatchSize::BatchSize ( size_t value)
inlineexplicit

Definition at line 167 of file options.hpp.

Member Function Documentation

◆ Value()

size_t storages::mongo::options::BatchSize::Value ( ) const
inline

Definition at line 171 of file options.hpp.


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