

These provide canonical, real-world references of various complexity for us to design/test against. These are a base set of example aggregation's from used in his M121 agg framework university course. examples-data-service-provider.js for details on what data-service functions are used and the applicable options for each. Usage with a mongodb-data-service Provider
#Mongodb compass export aggregation results code
compass-export-to-language/src/modules/export-query.js has reducer for calling pile() which populates the code in the modal dialog.compass-export-to-language/src/stores/store.js Listener for 'export to lang' event via appRegistry and renders its modal.src/modules/export-to-language.js appRegistry.emit('open-aggregation-export-to-language', generatePipelineAsString()) Here's how these 2 plugins come together: Modal plugin that connects to bson-transpilers for actual compiling to another language.

The aggregation builder in Compass actually involves 2 Compass plugins: How does clicking on export to language button in aggregation builder show the modal that has code in it?
