Mongodb – Is there performance issue if I use multiple "$set" in one update
The data in mongodb is like this { "_id": "1", "a": 1, "b": 2, "c": 3 "d": 4 } I can update the document using a single "$set" operator. db.collection.update({"_id": "1"}, { "$set": { "a": 100, "b": 200, "c": 300,…