Skip to main content

Mongo DB component

Component performs Mongo DB queries.

component image

In-ports

connection String
Mongo DB connection string. See Mongo connection string format for more details.

query JSON
The key-value pairs of Mongo query conditions. See Query Filter Documents for more details.

query-options String
Mongo query options. List of supported options actually:

  • limit - the maximum number of documents to return.
  • skip - specify how many documents to skip before returning the result set.
  • sort - specify the sort order of the returned documents.
  • collection - specify collection name to perform query. You can also specify collection in connectiono string.

trigger Boolean, <any>
Trigger request. If trigger port is not connected, then the component will perform the request on event to connection port and query port.

abort Boolean
Abort all pending requests that did not return the response yet.

Out-ports

response JSON
Receive Mongo query response wrapped into JSON object or an error signal.

Settings

Credentials

Provide credentials for secured connection. Credentials data will be forwarded to data gateway for external Mongo DB authentication.