181
rated 0 times
[
188]
[
7]
/ answers: 1 / hits: 12965
/ 11 Years ago, thu, february 6, 2014, 12:00:00
Is there a way to instruct model to populate ALWAYS a certain field?
Something like, to have field populated in any find query:
{field: Schema.ObjectId, ref: 'Ref', populate: true}
?
More From » node.js