1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-22 01:32:29 +00:00
This commit is contained in:
J. Fernando Sánchez 2015-03-14 01:18:56 +01:00
commit 420a02bd84

1
*new*.txt Normal file
View File

@ -0,0 +1 @@
db.<collection_name>.find().forEach(function(d){ db.getSiblingDB('<new_database>')['<collection_name>'].insert(d); });