MongoDB Aggregation

The MongoDB Aggregation node executes an aggregation pipeline on a MongoDB database and returns the result as JSON cells in a table. Example aggregation pipeline:

[
   { $match: { status: "A" } },
   { $group: { _id: "$cust_id", total: { $sum: "$amount" } } }
]
For more details see the MongoDB documentation:

Options

Settings

Database
The database name.
Collection
The collection name.
Aggregation Pipeline
The aggregation pipeline in a form of a JSON array. If not specified the node will return all documents.

Input Ports

Icon
The MongoDB Connection

Output Ports

Icon
The result JSON returned by MongoDB
Icon
The input MongoDB Connection.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.