Loopback models can be extended by adding custom methods to them. A method can be:
Posts for: #Loopback
Enable Destroy All API for a model in Loopback
Destroy All API (Model.destroyAll()
) is, by default, disabled to avoid accidental bulk deletion of data. However, it might be required for developmental purposes.