title: How can I update multiple documents in mongoose?
body: <p>I found the following script:</p>
  <pre><code>Device.find(function(err, devices) {
    devices.forEach(function(device) {
      device.cid = '';
      device.save();
    });
  });
  </code></pre>
  <p>MongoDB has the &quot;multi&quot; flag for an update over multiple documents but I wasn't able to get this working with mongoose. Is this not yet supported or am I doing something wrong?</p>
  <pre><code>Device.update({}, {cid: ''}, false, true, function (err) {
    //...
  });
  </code></pre>