3 ms·
It's a bad habit because of separation of concerns.
by Thaxll 6y ago
It's a bad habit because of separation of concerns.
- emteycz 6y agoYou're not forced to write your app code in the DB as SQL procedures, you can also write TS or whatever else and use it next to PostgREST.
- steve-chavez 6y agoCheck this thread[1] for a previous discussion about "separation of concerns" and PostgREST. tl;dr: business logic can be done with views/sps on an isolated schema. More layers makes the overall OLTP system less performant and harder to scale. [1]: https://news.ycombinator.com/item?id=21438307 https://news.ycombinator.com/item?id=21438307