title: MongoDB the difference between db.getCollection.find and db.tablename.find?
body: <p>What is the difference between:</p>
  
  <pre><code>db.getCollection('booking').find()
  </code></pre>
  
  <p>and</p>
  
  <pre><code>db.booking.find()
  </code></pre>
  
  <p>Are they exactly the same, or when should I use which one?</p>
  
  <pre><code>db.getCollection('booking').find({_id:"0J0DR"})
  
  db.booking.find({_id:"0J0DR"})
  </code></pre>