mongodb 分组统计然后insert into其他表,怎么实现呢?
db.orders.find().forEach( function(i) { i.ts_imported = new Date();
db.orders1.insert(i);
});