mongoose how to use model instance to find and select any value 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');