DocumentRange

Undocumented in source.

Constructors

this
this(MongoCursor!(Bson, Bson, typeof(null)) cursor)
Undocumented in source.

Members

Functions

limit
auto limit(size_t count)

Limits the number of documents that the cursor returns.

opApply
int opApply(int delegate(Schema doc) del)

Iterates over all remaining documents.

popFront
void popFront()

Advances the cursor to the next document of the response.

skip
auto skip(int count)

Skips a given number of elements at the beginning of the cursor.

sort
auto sort(T order)

Controls the order in which the query returns matching documents.

Properties

empty
bool empty [@property getter]

Returns true if there are no more documents for this cursor.

front
Schema front [@property getter]

Returns the current document of the response.

Meta