Struct MongoCursor

Represents a cursor for a MongoDB query.

Use foreach( doc; cursor ) to iterate over the list of documents.

This struct uses reference counting to destroy the underlying MongoDB cursor.

Methods

Method name Description
empty Returns true if there are more documents for this cursor.
opApply Iterates over all remaining documents.
__cpctor
opAssign

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.