Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Milline käsk uuendab esimeses dokumendis, kus välja "name" väärtus on John, välja "city" väärtuseks Tartu.
db.collection.updateOne("John")
db.collection.insertOne("John")
db.collection.updateOne({name: "John"})
db.collection.updateOne({name: "John"}, {$set: {city: "Tartu"}})
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!