3 ms·
Don't forget that the database is not only tables. Abstraction can be done at the SQL level with views. With views you can maintain backwards compatibility des
by steve-chavez 6y ago
Don't forget that the database is not only tables. Abstraction can be done at the SQL level with views.
With views you can maintain backwards compatibility despite migrations happening. No need to change your front-end.
Check this section of the PostgREST docs for more details:
http://postgrest.org/en/v7.0.0/schema_structure.html#schema-isolation http://postgrest.org/en/v7.0.0/schema_structure.html#schema-...
- ahpearce 6y agoYeah, views can definitely fit certain use cases. I've just never encountered cases where I eventually don't need to /do something else/ in between those two layers. Granted I'm doing a lot of systems integration on a lot of complex legacy infrastructure, so that might just be me!