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

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

Detailed Description

Specifies the number of documents to request from the server.

Note
The value of 0 means "no limit".

Definition at line 144 of file options.hpp.

Public Member Functions

 Limit (size_t value)
 
size_t Value () const
 

Constructor & Destructor Documentation

◆ Limit()

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

Definition at line 146 of file options.hpp.

Member Function Documentation

◆ Value()

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

Definition at line 148 of file options.hpp.


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