title: I'm working with mongoose and nodejs, but not able to print what i want to
body: <pre><code>let somevar = candidate.find({}, {_id:0,name:1 });
  console.log(somevar.map());
  </code></pre>
  <p>Current output which was not expected</p>
  <pre><code>Query {
  ...
      collectionName: 'candidates'
    },
    _traceFunction: undefined,
    '$useProjection': true,
    _userProvidedFields: { _id: 0, name: 1 }       
  }
  </code></pre>
  <p>Im not able to understand the error, so want someone to explain me whats happening here.
  What i expected it to do is</p>
  <pre><code>[&quot;name1&quot;,&quot;name2&quot;.....]
  </code></pre>