how to trigger loopback code example
Example: loopback before save
module.exports = function (model) {
model.observe('before save', async function(ctx, next) {
});
};
module.exports = function (model) {
model.observe('before save', async function(ctx, next) {
});
};