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
result.result is no longer working, try toArray().
var result = db.coll.aggregate(...); db.bar.insert(result.toArray());