MongoDB Atlas - Search documents action

This action retrieves documents from a MongoDB Collection.


Limitations

Up to 10,000 documents can be retrieved at a time.


Input

FieldDescription
CollectionThe name of the target database collection to retrieve documents from. Note: Names are case-sensitive.
LimitThe maximum number of documents to retrieve from the collection. The default is 1,000; the maximum is 10,000.
OffsetThe number of documents to skip.
Custom filter queryA JSON query used to filter documents. Documents that match the query's criteria will be selected. Refer to the Custom Filter Queries for MongoDB guide for more info.
Document schemaDefines the expected fields of retrieved documents. You can add fields manually or provide sample JSON using the Schema generator.

Note: For integer and decimal data, there are a few limitations to be aware of.

Output

FieldDescription
Collection nameThe name of the target database collection where documents were retrieved.
DocumentsA list of the retrieved documents.

Resources

Last updated: