Mongodb Script To Update Where Condition Medium

[Solved] Mongodb Script To Update Where Condition Medium | Perl - Code Explorer | yomemimo.com
Question : mongodb script to update where condition @medium

Answered by : philani-sithembiso-ndhlela

Employee_Name =”Daniel Morales”
db.Employees.update(
{"Emp_ID" :100},
{$set:{"Employee_Name" :"Daniel Morales"}});
WriteResult({"nMatched": 1, "nUpserted: 0, "nModified":1 })

Source : https://medium.com/@KnowledgeHut/how-to-update-document-in-mongodb-bdf07b8fd6ad | Last Update : Fri, 19 Aug 22

Answers related to mongodb script to update where condition medium

Code Explorer Popular Question For Perl