title: Does mongoose ordered Model.insertMany write anything to the db if it fails?
body: <p>In the documentation for Model.insertMany, it says that when options.ordered == true the method will fail on the 1st error.</p>
  
  <p><a href="https://mongoosejs.com/docs/api.html#model_Model.insertMany" rel="nofollow noreferrer">https://mongoosejs.com/docs/api.html#model_Model.insertMany</a></p>
  
  <blockquote>
    <p>[options.ordered «Boolean» = true] if true, will fail fast on the
    first error encountered. If false, will insert all the documents it
    can and report errors later. An insertMany() with ordered = false is
    called an "unordered" insertMany().</p>
  </blockquote>
  
  <p>Does it:</p>
  
  <ul>
  <li>have an error and write no documents to the db. (what I would like)</li>
  </ul>
  
  <p>or</p>
  
  <ul>
  <li>write documents that occur before the error, have an error, then not write any more documents?</li>
  </ul>