Do RESTful endpoints eliminate the need to SQL triggers?
Triggers are supposed to execute after a certain event. Would moving to RESTful api endpoints conceptually eliminate the need for SQL triggers?
The reason being, effects triggered from an event can be managed purely by well constructed RESTful endpoints. This includes logic that would be triggered in a SQL trigger function. It seems redundant to have both a RESTful endpoint and a separate trigger for handling events.