title: Get position of selected document in collection [mongoDB]
body: <p>How to get position (index) of selected document in mongo collection? </p>
  
  <p>E.g.
  this document: <code>db.myCollection.find({"id":12345})</code>
  has index <code>3</code> in <code>myCollection</code></p>
  
  <pre><code>myCollection:
      id: 12340, name: 'G'
      id: 12343, name: 'V'
      id: 12345, name: 'A'
      id: 12348, name: 'N'
  </code></pre>