MongoCursor.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.

struct MongoCursor(DocType = Bson)
byPair
()

Throws

An exception if there is a query or communication error.

Meta