MongoLink`
MongoLink`

MongoCursorNext

MongoCursorNext[MongoCursor[]]

returns the next document in the MongoCursor[] object.

Details

Examples

Basic Examples  (1)

Connect to a client:

Connect to a the "WolframTestCollection" collection in the "WolframTestDB" database:

Find all of the documents in the collection:

View documents in the collection one at a time:

When there are no more documents in the cursor, nothing will be returned:

This is equivalent to: