Xiao Bai asked a question.
db.users.insert({"name": "demo"})
Insert the above ten times.
db.users.update({"name": "demo"}, {$set: {"age": 24}})
In this case, all ten records should be matched, but why only the first one?
Xiao Bai asked a question.
db.users.insert({"name": "demo"})
Insert the above ten times.
db.users.update({"name": "demo"}, {$set: {"age": 24}})
In this case, all ten records should be matched, but why only the first one?