title: Update many in mongoose
body: <p>I have a very simple case. I want to update my collection every midnight.
  Im using <code>node-schedule</code>:</p>
  
  <pre><code>schedule.scheduleJob('0 0 * * *', () =&gt; {
     Users.updateMany();
  });
  </code></pre>
  
  <p>All I want to do, is to loop over every document in my collection (<code>Users</code>) and then if <code>User.created</code> is <code>false</code>, I want to turn it into <code>true</code>.</p>
  
  <p>In javascript it would be:</p>
  
  <pre><code>for (let user in Users) {
     if (user.created === false) {
        user.created = true;
     }
  } 
  </code></pre>
  
  <p>How to do it in mongoose? Thanks!</p>
  
  <h3><strong>Edit</strong>: The story is very simple, I just want to iterate over every element in my db using mongoose and if iterated element has field "created" === false, change it to true.</h3>