Answers for "robo 3t copy collections from one DB to other DB"

0

robo 3t copy collections from one DB to other DB

db.<collection_name>.find().forEach(function(d){ db.getSiblingDB('<new_database>')['<collection_name>'].insert(d); });
Posted by: Guest on November-17-2020

Code answers related to "robo 3t copy collections from one DB to other DB"

Browse Popular Code Answers by Language