title: Mongodb query nested object with nodejs and mongoose
body: <p>I have the following schema: </p>
  
  <pre><code>var mongoose = require('mongoose');
  
  var Schema = mongoose.Schema;
  
  
  var Reviews = new Schema(
      {
      author: {type: String},
      rate: {type: Number},
      descritpion: String,
      date: {type: Date, default:Date.now}
      }
  );
  var Place= new Schema(
      {
          image_path: {type:String},
          place_name: { type: String},
          info: {type: String},
          type: {type: String},
          address_place:[{
              address:{type: String},
              city:{type: String},
              postcode: {type: String}
              }],
          review: [Reviews]
      }
  );
  
  var PlaceModel = mongoose.model('Place', Place);
  module.exports = PlaceModel;
  </code></pre>
  
  <p>I want to retrieve the data inside the address_place and review.
  I tried the following code for the address:</p>
  
  <pre><code>       var PlaceModel = require('../models/places');
         exports.place_list = function(req, res) {
         PlaceModel.find({},
         'place_name info type
          address_place.address address_place.city address_place.postcode',
         function (err, pla) {
  
          console.log(pla);
          if(err){
              console.log(err);
          }else{
              res.render('place.ejs',{
                  title: 'Places',
                  placesArray : pla,
  
              });
          }
      })
  }
  </code></pre>
  
  <p>The result of this code is the following one in the terminal:</p>
  
  <pre><code>{ _id: 5b10235c29dd6a29e8a8f5d7,
  name: 'Test',
  info: 'Test',
  address_place: [ [Object] ], 
  type: 'Restaurant',
  review: [ [ Object ] ],
  __v: 0 },
  </code></pre>
  
  <p>As you can see the address_places show only in brackets "object" but I want to retrieve the entire content. How can I do that? </p>
  
  <p>for example</p>
  
  <pre><code> address_place: [ 
     address: 'street',
     city: 'New York',
     postcode: 'S23WLL'
    ]
  </code></pre>
  
  <p>Same thing for review. I tried everything. Thank you in advance!   </p>