MongoLink`
MongoLink`

MongoGetCollection

MongoGetCollection[MongoDatabase[], name]

connects to a collection name inside the database MongoDatabase[].

MongoGetCollection[MongoClient[],dbname,collname]

connects to a collection collname inside the database dbname using client MongoClient[].

Details

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Connect to a local MongoDB server:

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=

This is equivalent to:

In[1]:=
Click for copyable input
Out[1]=

See Also

MongoClient  MongoDatabase  MongoGetDatabase

Tutorials