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.
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.