title: How to get string value inside a Mongodb document?
body: <p>I have this document stored in mongodb document:    </p>
  
  <pre><code>{
      "_id":ObjectId("4eb7642ba899edcc31000001")
      "hash":"abcd123"
      "value":"some_text_here"
  }
  </code></pre>
  
  <p>I am using NodeJS to access the database: </p>
  
  <pre><code>collection.findOne({'hash' : req.param('query') }, 
      function(err, result){ 
      console.log(res);   
  });
  </code></pre>
  
  <p>The result of this query is the whole document, however I need to get only the "value" text: "some_text_here" </p>
  
  <p>How can this be done? </p>