These are chat archives for Automattic/mongoose

3rd
May 2018
Renato Marinho
@renatomarinho
May 03 2018 04:41
This message was deleted
CuAnnan
@CuAnnan
May 03 2018 18:32
Does the save pre handler only get called when a new entity is stored, where update is everytime it's updated?
Kev
@lineus
May 03 2018 21:39
@CuAnnan it gets called whenever you call Model.create() or Doc.save(), there's a separate update hook for when you call .update()