I am trying to add a new field to all documents in an existing collection.
Database Name = Test Collection Name = Commands
test.teams.update({ } , { $set: { "isGolden": false } } , false, true)
When I try to use MongoChef, it gives me the following error: 
What is wrong with this? Thanks
mongodb
Val nolav
source share