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
Created by Guest
Created on Jul 18, 2019

Availability of Args in Function Context

Not sure if this is do-able already or not. Couldn't find documentation. I have a function that looks like exports = function(dbName, collectionName, pipeline){... I want to be able to access the arguments sent to the function in the Can Evaluate JSON expression. I assumed it might work like { "%%args.dbName": "eflex-test" } but that doesn't seem to work