3 ms·
How do I change some part of controller function of a DB table ? i.e can I change generated code (what language is the code?) or is it like hook functions avail
by samblr 10y ago
How do I change some part of controller function of a DB table ? i.e can I change generated code (what language is the code?) or is it like hook functions available in cloud ?
- tango12 10y agoThe Data APIs are not actually generated. The Data API service exposes a JSON query language on any Postgres table. So if you want to customise the controller, the easiest thing to do is to write a custom API endpoint (which you can deploy to your server using a heroku style git-push or a docker image) which in turn can contact the data APIs or even the Postgres database directly.