title: MongoDB Insert Field to all documents in a collection
body: <p>I am trying to add a new field into all documents in an existing collection. </p>
  
  <p>Database name = test
  Collection name = teams</p>
  
  <pre><code>test.teams.update({
  }
  ,
  {
      $set: {
          "isGolden": false
      }
  }
  ,
  false,
  true)
  </code></pre>
  
  <p>When I am trying it with MongoChef, it is giving me the following error:
  <a href="https://i.stack.imgur.com/17Qbt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/17Qbt.png" alt="enter image description here"></a></p>
  
  <p>What is wrong with this?
  Thanks</p>