Programming Hut
Mongodb
1.Search exists and insert into new Collection
db.entities.find({
FolderName:{$exists:true},
}).forEach(function(doc){
db.parent_entities.insert(doc);
});
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment