Allow aggregate query export to file on first execution.
In order to export the results of an aggregate query to file I have to run the aggregate pipeline first and then use export to export the current results.
My aggregate takes over an hour to run so it takes twice as long to export to file because the aggregate has to run twice.
I would like to be able to configure the export of the aggregate before running the pipeline so it only has to run once.
Ittipan Langkulanon commented