Professional Documents
Culture Documents
Page No _..:::,__ _
Expt Name lns.i?A.uon j u.pda.!l&n. of_ci.J2~. iot:o_ .to .llt ~ Date : _ _ _ __
.-
•
/1
~ DuJ-p u..t __.
v) V P ~ Ont : · db• s t-u&...n+-. Up&al-e 0'1e {-t '·~~ <14- r,o.m-e. ~ H C1tt+o. ,, 1 ,
l i.s u- ~ l" Leu➔ "ICVY\~ '' :
1
< Sho~~C\' 13 )
/1
Al- "<et u..P t : ,.. 11, t.U f-"-.P 'bt. puJ<r)Cf) I- +fJ ( 0S Vi r O.r)c{) u. p ~~
&De.um (U) r ~f)t-£) t!olfect1-t'~ ~'JA.1..C-tl+o..J S t.JC(t!.J~ I t
student >
>>> db.Student.update({Regno: l911884~ },{$set:{Regno: 39lle345}})
I
acknowledged : t r ue ,
insertedld: null ,
matchedCount: t ,
modifiedCount: f ,
upsertedCount: O
)
student >
>>> db. Student.updateOne ( {fi rst_naine: "El<ta"}, {$.si,t: {last_narne: "Shanna"}})
I
acknowli,dged: true ,
insi,rtedid: null ,
matchedCount : l ,
modifiedCount: J ,
upsertedCount: 0
)
student>
>>> db. Student .updateMany( { last_na""': "Sharlllil ''} , {$set : { fi rst _n~me: "Richd ' '}} )
I
acknowledged: t rue ,
insertedld: null ,
matchedCount: , ,
modifiedCount: 2 ,
upsertedCount: O