I want to save the aggregation framework result to a new collection. I know that\'s impossible with the framework at the moment with the command itself.
Is there a w
Starting with Mongo 2.6.0 you can do this natively without any additional manipulation.
db..aggregate( [ { }, { }, ..., { $out : "" } ] )
Check the new aggregation operator $out for more detailed example.
P.S. using this way you are not limited to 16Mb size.