1、
var result = db.foo.aggregate(...);db.bar.insert(result.result);
2、
MongoDB 实现 create table tab2 as select
原文:https://www.cnblogs.com/xibuhaohao/p/12059135.html