Joined June 2014
·

Quentin Dufour

INSA Rennes
INSA Rennes
·
France
·
·

Posted to Update a model with Mongoose over 1 year ago

If you want to update, using Mongoose validator, without finding it, or when you find an object and populate it, change the populated object and want to save the modification at the same time of the main object, with a pre save.

Very useful and save me lot of time. Thanks a lot !

Achievements
13 Karma
71,207 Total ProTip Views
Interests & Skills