MongoDB Query

Query a MongoDB database.

Properties

NameType
engineString=mongodb:read
connectionString
collectionString
queryObject
schemaObject

engine

Must be mongodb:read.

Required
Yes

connection

The connection string of the MongoDB server.

Required
Yes
Examples
mongodb://admin:password@db.example.com:27317/?authSource=admin

collection

The name of the MongoDB collection.

Required
Yes

query

Required
No

Properties

NameType
filterArray
limitInteger

query.filter
Required
No

query.filter.field_path

The field path to filter.


query.filter.op

The operation.

Enum
= > < >= <=

query.filter.value

The value to compare using the operation.


query.limit

The number of records to fetch.

Required
No

schema

Define a schema for the data.

Required
Yes