MongoLink`
MongoLink`

MongoCursorToArray

MongoCursorToArray[MongoCursor[]]

takes a MongoCursor object and returns a list of all remaining documents.

Details

Examples

open allclose all

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 all of the documents in the collection:

This is equivalent to:

Scope  (1)

Connect to a client:

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

Find all of the documents in the collection:

View all of the documents as a dataset: