Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

selecting multiple feilds using populate in mongoose

{path:'user',select:['key1','key2']}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selecting #multiple #feilds #populate #mongoose
ADD COMMENT
Topic
Name
1+6 =