News for hackers. Stuff that matters.
Re:Things I wished more developers knew about databases by MaxBarraclough on Thursday April 23, 2020 @12:53PM (#22958028)
What do you make of tools like LoopBack which automatically map REST to SQL (without you having to write code for each mapping)? https://loopback.io/doc/en/lb4/Database-connectors.html
Re:Things I wished more developers knew about databases by wenc on Thursday April 23, 2020 @01:46PM (#22958659)
Postgres has something similar called pgREST too. I think I would only adopt these kinds of interfaces if the consumer insists on accessing the data through a REST interface.

If you are building something from scratch, or your consumers don't have a hard requirement for going through REST, I would go directly to the database view.