MongoCursor.byPair
auto byPair()Iterates over all remaining documents.
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.