MongoDb
Wednesday, 6 January 2016
MongoDB -- Update
Updating the collection:
db.collectionname.update({key1:value1},{$set:{key2:value2}},{multi:true})
similarly equal to update collectionname set key2 = value2 where key1 = value1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment