Open bostondevin opened 7 years ago
@bostondevin I don't know how to do what you're asking, but it seems that this project is not being maintained anymore, i would suggest looking for help on stack overflow or something like that.
Hi, @charles-passille-smartnets have you found a good replace for this repo? thanks
How do you specify select fields for the parent document when you are using deepPopulate?
I can specify the select for child objects this way just fine:
.deepPopulate('createdBy', {populate: {createdBy: {select: 'firstName lastName _id'}});
But for the parent object, I want to do the same? What would the syntax be for that?