MongoDB

Download 8
Last updated Mar 3, 2025

mongodb-docs

Get documents from specified MongoDB collection.

mongodb-docs [profile=PROFILE] [database=DATABASE] collection=COLLECTION [filter=FILTER] [projection=PROJECTION]
profile=PROFILE
Connect profile code of MongoDB.
database=DATABASE
Target database name.
collection=COLLECTION
Target collection name.
filter=FILTER
Specifies selection filter using query operators in json format. If not set, retrieves all documents. e.g. {field: {$gt: 123}}
projection=PROJECTION
Specifies the fields to return in the documents that match the query parameter in json format. Outputs all fields if not set. e.g. {field1:1, field2:1}

Output Fields

FieldTypeNameDescription
_idBLOBIDDocument identifier.