2 ms·
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/
by MaxBarraclough 7y ago
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 https://loopback.io/doc/en/lb4/Database-connectors.html
- wenc 7y agoPostgres 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.