Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

mongoose select nested

var fields = { 'properties.OBJECTID': 1, 'properties.TIMESTAMP': 1 };
var query = Feature.find({id: 1}).select(fields);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongoose #select #nested
ADD COMMENT
Topic
Name
5+2 =