Function MongoCursor.empty
Returns true if there are no more documents for this cursor.
bool empty() @property;
Throws
An exception if there is a query or communication error.
Returns true if there are no more documents for this cursor.
bool empty() @property;
An exception if there is a query or communication error.