mongoose retreiving only certain fields code example
Example: return only specific attributes when making query mongoose
//query with mongoose
var query = dbSchemas.SomeValue.find({}).select('name');
//query with mongoose
var query = dbSchemas.SomeValue.find({}).select('name');