userver: storages::mongo::options::Limit 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::options::Limit Class Reference

Specifies the number of documents to request from the server. More...

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

Public Member Functions

 Limit (size_t value)
 
size_t Value () const
 

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.

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: