loopback-custom-delete-mixin
v1.0.4
Published
Custom delete mixin for Loopback Models
Downloads
3
Maintainers
Readme
LOOPBACK-CUSTOM-DELETE-MIXIN
Introduction
This is an application for Loopback
Installation
npm install loopback-custom-delete-mixin
Add the mixin to model-config.json : /node_modules/loopback-custom-delete-mixin
Description
This mixin overrides the 'deleteById' function and sets a 'status' property if needed. Deleting an instance now changes the 'status' property to 'DISABLED'
Authors
- Author: Manuel Garcia ([email protected])