Variables in aggregation pipelines
I have a few aggregations saved that I use for reporting. Sometimes multiple stages use the same dates (in my case, but could be anything) and it would be nice to be able to set a variable so I could save my pipeline with variable placeholders and then when I run the aggregation I don't have to update each instance of a date, I would only need to update the variable declaration.
I could do this with nodeJS but I don't want to have to boot up a server to run a report when Studio3T makes everything else so easy
2
votes
Andrew MacLeod
shared this idea