5 points · by swannodette · 2mo ago · 2 comments
So we built a direct SQL layer to a simple model of the ledger. It's nice to have easy fast programmatic access to your books for building internal apps and stuff, not to mention giving agents access. (Agents are really good at SQL, read-only of course.)
Along the way, this made us wonder: when does an app or service really need a custom API at all, rather than just exposing data as SQL, which is sorta the lingua franca of data querying. Will more services do this in the future?
Curious what you think!
Very cool - eager to use it.
Part of the benefit of doing this is the speed of access. And the other aspect is that REST is great for single object retrieval but awful for grouping, summary, joins, totals, etc