CURD operation is one of the main operation used in Database.
C -Create
U - Update
R - Read
D - D
Following example will set the new title 'Parathan' of the documents whose title is 'Jaffna'.
>db.mycol.update({'title':'Jaffna'},{$set:{'title':'Parathan'}})
No comments:
Post a Comment