MongoLink`
MongoLink`

MongoCollectionName

MongoCollectionName[MongoCollection[]]

returns the name of the MongoCollection object.

Details

  • To use MongoCollectionName, you first need to load MongoLink using Needs["MongoLink`"].

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Connect to a client:

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

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

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

Return the name of the collection object:

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