MongoLink`
MongoLink`

MongoCollectionValidate

MongoCollectionValidate[MongoCollection[]]

validates the MongoDB collection MongoCollection[].

Details

  • To use MongoCollectionValidate, you first need to load MongoLink using Needs["MongoLink`"].
  • MongoCollectionValidate returns a Dataset.
  • MongoCollectionValidate corresponds to the db.collection.validate() function in the MongoDB manual.

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]=

Validate the collection:

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