mongoose findbyid and select method 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');