3 ms·
> I don't understand what's the benefit of adding additional third party code into the hot-path PostgREST doesn't add an additional third-party library. It rep
by dventimi 2y ago
> I don't understand what's the benefit of adding additional third party code into the hot-path
PostgREST doesn't add an additional third-party library. It replaces one or more third-party libraries: Spring, Django, RoR, etc.
> Also what about caching if people can "craft" random queries and send them straight to your PG instance?
Put the SQL that you would've put into your controller code into SQL functions, expose only those through PostgREST, and call it a day.