Cursor

Used for iterating mongoc_cursor_ts as input ranges.

Constructors

this
this()
Undocumented in source.
this
this(mongoc_cursor_t* cursor)
Undocumented in source.

Members

Functions

front
ElementType front()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
auto popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
void unlock()

Called automatically on exhaustion, useful if not all the elements are desired.

Variables

_front
BSON _front;
Undocumented in source.
cursor
mongoc_cursor_t* cursor;
Undocumented in source.
empty
bool empty;
Undocumented in source.

Meta