Re:PostgREST
by andrey_utkin on Monday November 04, 2019 @04:13AM
(#21440002)
How do you deal with writing operations in this approach?
[ Parent
| on HN ]
Re:PostgREST
by dragonwriter on Monday November 04, 2019 @04:39AM
(#21440115)
> How do you deal with writing operations in this approach?
The same as read operations, with views, which can be, in Postgres, automatically updatable if they are a simple thin layer over base tables, and otherwise can be made updatable by means of appropriate triggers defining the meaning of INSERT/UPDATE/DELETE on them just as the view definition defines the meaning of SELECT.