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

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

Detailed Description

Interface for MongoDB query cursors.

Definition at line 19 of file cursor.hpp.

Classes

class  Iterator
 

Public Member Functions

 Cursor (std::unique_ptr< impl::CursorImpl > &&)
 
 Cursor (Cursor &&) noexcept
 
Cursoroperator= (Cursor &&) noexcept
 
bool HasMore () const
 
 operator bool () const
 
Iterator begin ()
 
Iterator end ()
 

Member Function Documentation

◆ operator bool()

storages::mongo::Cursor::operator bool ( ) const
inlineexplicit

Definition at line 59 of file cursor.hpp.


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