I have many number of databases each containing data for each customer.
Is there any way to run an Aggregate which will hit multiple databases? I want to run $group on the complete dataset.
As a workaround, I'm putting the data from both of the DBs into a temporary collection and then running the $group on top of this temp collection.
Is there any better way to this? I'm open to use any other technology as well!