loopback-ds-user-mixin
v0.0.1
Published
A mixin to automatically generate created by and updated by attributes for Loopback models
Downloads
153
Maintainers
Readme
TIMESTAMPS
This module is designed for the Strongloop Loopback framework. It automatically adds createdBy
and updatedBy
attributes to any Model.
createdBy
will be set to the id of the user which created the instance
updatedBy
will be set to the id of the user which last updated the instance
This module is implemented with the before save
Operation Hook which requires the loopback-datasource-juggler module greater than v2.23.0.