News for hackers. Stuff that matters.
Re:Skip the API, Ship Your Database by k_vi on Thursday September 14, 2023 @02:35AM (#37505697)
I've tried doing this read & updates using Postgrest and row-level-security using Supabase. When it works its an amazing experience but even for semi complex stuff you would still need to use Postgres RPC, which is still another "API" layer. I find writing API using SQL a nigtmare.

Simple queries like this don't work on Postgrest: `update likes set likes = likes + 1;`

There are no comments on this comment yet.