mirror of
https://github.com/balkian/gists.git
synced 2024-11-22 17:52:27 +00:00
1 line
118 B
JavaScript
1 line
118 B
JavaScript
|
db.<collection_name>.find().forEach(function(d){ db.getSiblingDB('<new_database>')['<collection_name>'].insert(d); });
|