Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Compass
Created by Guest
Created on Jun 11, 2025

I would like to pass a variable or a parameter to a aggregation pipeline.

It would be beneficial to include a variable panel inside the Aggregation Pipeline tab in order to be able to pass a variable ( a parameter ) to an aggregation pipeline. In the panel I should be able to define variables and pass them by reference in an aggregation pipeline.
  • Attach files