title: Update query to update bulk records mongodb
body: <p>I have mongodb version 3.2 and I need to update many records using single query.</p>
  <p>My collection looks like</p>
  <pre><code>{
      &quot;_id&quot; : ObjectId(&quot;573a2453e4b0882b6e286513&quot;),
      &quot;field1&quot;: &quot;24333&quot;,
      &quot;field2&quot;: &quot;testfield&quot;
  }
  </code></pre>
  <p>Now I want to update field3 as true (Field3 is added now so it won't be there for older records).
  So what will be the query for that and update suppose to happened in bulk
  like I want to update records where field1=&quot;24333&quot; or field2=&quot;3645&quot; and field2=&quot;test1&quot; or field2=&quot;test2&quot; like that.</p>
  <p>Any suggestions?</p>