Tutorial by Topics: beforecreate

We might need to modify the attributes before record is created. My use case was encrypting password when user is created. Hooks doc is here http://docs.sequelizejs.com/en/v3/docs/hooks/#instance-hooks. It documents the way to use it with a library / function that returns a Promise. But the use ca...

Page 1 of 1