mongodb中复制(备份)collection

db.new_product.find().forEach(function(x){db.tt.insert(x)})

原collection为new_product  复制到tt表中

猜你喜欢

转载自blog.csdn.net/xiongzaiabc/article/details/82884418
今日推荐