mongoose how to use .select 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');