Copy collection in same database without dump command.
db.collectionName.aggregate([{$match:{}},{$out:"copyCollectionName"}])
Copy collection in same database without dump command.
db.collectionName.aggregate([{$match:{}},{$out:"copyCollectionName"}])
Top comments (0)