📄️ 🦸 Saving to a collectionYou can export the result of an aggregation pipeline to a different DB / Collection. To do that just add a last aggregation stage to your pipeline:
📄️ 🦸 Saving to a collectionYou can export the result of an aggregation pipeline to a different DB / Collection. To do that just add a last aggregation stage to your pipeline: