Function MongoCursor.byPair
Iterates over all remaining documents.
auto byPair();
Note that iteration is one-way - elements that have already been visited will not be visited again if another iteration is done.
Throws
An exception if there is a query or communication error.