MongoDB C++ Driver
mongocxx-3.0.2
|
Class representing a pointer to the result set of a query on a MongoDB server. More...
#include <cursor.hpp>
Classes | |
class | iterator |
Class representing an input iterator of documents in a MongoDB cursor result set. More... | |
Public Member Functions | |
cursor (cursor &&) noexcept | |
Move constructs a cursor. | |
cursor & | operator= (cursor &&) noexcept |
Move assigns a cursor. | |
~cursor () | |
Destroys a cursor. | |
iterator | begin () |
A cursor::iterator that points to the begining of the results. More... | |
iterator | end () |
A cursor::iterator that points to the end of the results. More... | |
Class representing a pointer to the result set of a query on a MongoDB server.
Clients can iterate through a cursor::iterator to retrieve results.
iterator mongocxx::cursor::begin | ( | ) |
A cursor::iterator that points to the begining of the results.
mongocxx::query_exception | if the query failed |
iterator mongocxx::cursor::end | ( | ) |
A cursor::iterator that points to the end of the results.