FindDocuments

FindDocuments[collection]
returns all documents from the collection.


selects documents that satisfy the query.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Open a database connection, get the database and get the collection:

In[2]:=
Click for copyable input

Insert test documents:

In[3]:=
Click for copyable input

Find all documents:

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

Find documents matching a query:

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