title: mongo - dropping non existant collection throws 'ns not found'
body: <p>I'm trying to drop a non existant collection and I get the following error:</p>
  
  <blockquote>
    <p>MongoError: ns not found.</p>
  </blockquote>
  
  <p>In a similar question, there is a link to the mongo code which shows that this is the expected behaviour:</p>
  
  <p><a href="https://stackoverflow.com/questions/37136204/mongoerror-ns-not-found-when-try-to-drop-collection">MongoError: ns not found when try to drop collection</a></p>
  
  <p>However, according to the mongo documentation, this method should return <em>false</em> if the collection does not exists:</p>
  
  <p><a href="https://docs.mongodb.com/manual/reference/method/db.collection.drop/#db.collection.drop" rel="nofollow noreferrer">https://docs.mongodb.com/manual/reference/method/db.collection.drop/#db.collection.drop</a></p>
  
  <p>What am I missing?</p>
  
  <p>Server version - 3.6.5, mongodb client (javascript) - 3.0.21</p>
  
  <p>The commands I used:</p>
  
  <pre><code>await mongodb.collection('colname').drop()
  </code></pre>
  
  <p>and</p>
  
  <pre><code>mongodb.collection('colname').drop((err, res) =&gt; {
      console.log('err: ' + err + ', res: ' + res) // doesn't get called
  })
  </code></pre>