2 ms·
It's hard to compose (you could call it metaprogramming maybe, since you're writing SQL programs with a program), too. You know the problem: take this query bu
by WesolyKubeczek 3y ago
It's hard to compose (you could call it metaprogramming maybe, since you're writing SQL programs with a program), too.
You know the problem: take this query but with this extra table joined and this other condition in the WHERE clause.
Solutions exist, but they mostly are married to ORMs, thus the frustration. But I'm confident that "either raw paleolithic SQL or clunky ORMs" is a false dichotomy (and I've written a thing in PHP over a decade ago to scratch my own itch and compose SQL, so I just know for a fact how false it is).