Enables the passing of options to the static sequelize methods create(), save(), and destroy() used in the Controller files create.js, update.js, and delete.js, respectively.
I am submitting this update because I need this functionality in order to enable user tracking in the sequelize-paper-trail library. I need to be able to pass a userId property through the options object that gets passed to the methods I mentioned earlier.
The passing of the options object was already set up for the other Controller files: read.js & list.js. This enables the same functionality for the other Controllers.
Enables the passing of
options
to the static sequelize methodscreate()
,save()
, anddestroy()
used in the Controller files create.js, update.js, and delete.js, respectively.I am submitting this update because I need this functionality in order to enable user tracking in the sequelize-paper-trail library. I need to be able to pass a
userId
property through theoptions
object that gets passed to the methods I mentioned earlier.The passing of the
options
object was already set up for the other Controller files: read.js & list.js. This enables the same functionality for the other Controllers.