Joined July 2012
·

Leonardo Bighi

Rio de Janeiro, Brazil
·
·
·

Posted to Saving Sub-Documents With Mongoose over 1 year ago

Why did you need this line of code?

model['Child'] = Child;

Couldn't you just do this in the parent?

,children: [Child.schema]

Achievements
89 Karma
0 Total ProTip Views