4 ms·
So I guess people use this cause they don't want to spend some time learning SQL...
by qualitylandlor 6y ago
So I guess people use this cause they don't want to spend some time learning SQL...
- piaste 6y agoThat's exactly backwards. People who don't want to learn SQL tend to write CRUD API and rely on code-first ORMs to manage the database. When you instead use PostgREST, or Hasura, you're usually going to write a ton of SQL - tables instead of classes, views and stored procedures instead of interfaces, row-level security rules instead of authorization code.
- ruslan_talpa 6y agoA “ton” is very relative. Those tables still have to be written even with ORM. And as for views/rls/triggers the total LOC i would say is orders of magnitude smaller then in traditional stacks and a lot more readable (it’s static definitions vs imperative code)