MongoDB adds default values in batches

class:MongoDB views:92 Author:xiaomo314
Command
db.neeq2006.update({}, {$set:{"name":""}}, false, true)
Explanation
{} : Fill in the blank value, indicating all data
{$set:{"name":""}} : Add field name and field value
false : Do not insert new data
true : update all data
Operation result
Updated 7517 existing record(s) in 374ms

This platform is gradually under construction, more development orders are gradually included, any questions or Suggestions can be Contact Us