Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

return only specific attributes when making query mongoose

//query with mongoose
var query = dbSchemas.SomeValue.find({}).select('name');
 
PREVIOUS NEXT
Tagged: #return #specific #attributes #making #query #mongoose
ADD COMMENT
Topic
Name
8+8 =