title: mongo find() producing no output with eval
body: <p>I'm trying to do a 'find all' of resources within a mongodb collection.</p>
  
  <p>I can get the count ok:</p>
  
  <pre><code>mongo ip:port/database1 -u correctusername -p correctpassword 
  --authenticationDatabase admin --eval "db.getCollection('collection_123').count()"
  </code></pre>
  
  <p>But when I try to tweak it, </p>
  
  <pre><code>mongo ip:port/database1 -u correctusername -p correctpassword 
  --authenticationDatabase admin --eval "db.getCollection('collection_123').find()"
  </code></pre>
  
  <p>It produces</p>
  
  <pre><code>MongoDB shell version: 2.4.0
  connecting to: ip:port/database1
  DBQuery: database1.collection_123 -&gt; { }
  </code></pre>
  
  <p>I also tried <code>find({})</code></p>
  
  <p>There doesn't seem to be authentication errors. The first query works and produces a count. I can also </p>
  
  <pre><code>mongo ip:port/database1 -u correctusername -p correctpassword 
  --authenticationDatabase admin
  </code></pre>
  
  <p>get into the mongo shell and </p>
  
  <pre><code>db.getCollection('collection_123').find()
  </code></pre>
  
  <p>And see the correct json output.</p>