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
1
vote
![](https://secure.gravatar.com/avatar/c2091fbcaf83669387312a6cd28e6f93?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)