loopback before delete 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) {
});
};