Skip to main content
Version: 4.53.1

Mongo Query

The Mongo Query component allows you to execute queries on a collection of a MongoDB database.

By default, it will retrieve all the documents. Additionally, you can filter which documents are retrieved based on query and specify a sort order.

Configuration

Inputs | Outputs


Mongo-Query
Input
Output
Error
00 0 (ilygfry455)

The incoming message is not used unless the query uses a variable from this object. The incoming message can be empty if you don't need any variables.

Example:
//query in config:
{ "kind":"{{kind}}" }

//incoming message:
{
_id: "135176441e008d9d0c5ba0cee61783ce",
kind: "CONTAINER"
}