Hub
Pricing About
NodeNode / Manipulator

MongoDB Aggregation

Tools & ServicesMongoDB
Drag & drop
Like

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:
  • Aggregation Pipeline
  • Aggregation Pipeline Stages
  • Aggregation Pipeline Operators

Node details

Input ports
  1. Type: org.knime.mongodb.connection.port.MongoDBConnectionPortObject
    MongoDB Connection
    The MongoDB Connection
Output ports
  1. Type: Table
    JSON Result
    The result JSON returned by MongoDB
MongoDB Connection (Dynamic Outport)
The input MongoDB Connection.
  1. Type: org.knime.mongodb.connection.port.MongoDBConnectionPortObject

Extension

The MongoDB Aggregation node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits