title: Handlebars filtering object
body: <p>I am using Express, NodeJS and MongoDB . Trying to use handlebars to pass some info to render. </p>
  
  <p>the route code im using is:</p>
  
  <pre><code>router.get('/mediciones', async (req, res) =&gt; {
    // res.render('mediciones');
    const dashboard  = await Mediciones.find().limit(3);
    console.log(dashboard);
    res.render('mediciones' , { dashboard });
  });
  </code></pre>
  
  <p>the hbs code is:</p>
  
  <pre><code>{{#each  dashboard }}
  &lt;p&gt;
      {{!-- {{this}} --}}      // using just one, but both show me the 3 objects
      {{.}}
  &lt;/p&gt;
  {{/each}}
  </code></pre>
  
  <p>the rendered view:</p>
  
  <pre><code>{ _id: 5ea9ff48b54a2b09d38ddfd9, temperatura: 20, humedad: 44, heat: 19.2, temperaturaagua1: 22.31, temperaturaagua2: 22.31, ventilador: true, extractor: true, intractor: true, bombaagua: true, refreshInterval: 10000, currentMillis: 3799956, dia: 2020-04-29T22:27:20.997Z, __v: 0 }
  
  { _id: 5ea9ff52b54a2b09d38ddfda, temperatura: 20, humedad: 44, heat: 19.2, temperaturaagua1: 22.31, temperaturaagua2: 22.31, ventilador: true, extractor: true, intractor: true, bombaagua: true, refreshInterval: 10000, currentMillis: 3809961, dia: 2020-04-29T22:27:30.986Z, __v: 0 }
  
  { _id: 5ea9ff5db54a2b09d38ddfdb, temperatura: 20, humedad: 44, heat: 19.2, temperaturaagua1: 22.31, temperaturaagua2: 22.31, ventilador: true, extractor: true, intractor: true, bombaagua: true, refreshInterval: 10000, currentMillis: 3820030, dia: 2020-04-29T22:27:41.068Z, __v: 0 }
  </code></pre>
  
  <p>The problem is: how can i just exract "temperatura" and "humedad" from those objects and print them on a <code>&lt;p&gt;</code> tag? i tried to use <code>{{temperatura}}</code> but nothing show. I cant find the answer</p>