One way to fast update all records in a MongoDB collection is to send an update with multi flag true. Example:
db.my_collection.update({},{ $set: { "Price" : 100 } }, false, true );
One way to fast update all records in a MongoDB collection is to send an update with multi flag true. Example:
db.my_collection.update({},{ $set: { "Price" : 100 } }, false, true );