News for hackers. Stuff that matters.
Re:PostgREST: REST API for any Postgres database by robertlagrant on Saturday November 21, 2020 @02:53PM (#25172302)
You keep talking about domain models and views as though domain models aren't written as well as read.
Re:PostgREST: REST API for any Postgres database by dragonwriter on Saturday November 21, 2020 @06:36PM (#25173557)
> You keep talking about domain models and views as though domain models aren't written as well as read.

Views can be writable (views with non-trivial relations to base tables require explicit specification of what behavior to execute on writes through triggers, but that's obviously true of classical domain models, too.)

Re:PostgREST: REST API for any Postgres database by ruslan_talpa on Saturday November 21, 2020 @03:11PM (#25172425)
You keep talking about db views as though you can only read from them (an not write to them) :)