title: How do you explain a distinct query in MongoDB?
body: <p>How do you explain a distinct query in MongoDB?</p>
  
  <pre><code> db.test3.distinct("id", { key:"value"}).explain()
  </code></pre>
  
  <p>Errors with:</p>
  
  <pre><code>explain is not a function (shell)
  </code></pre>