logoalt Hacker News

Postgres's lateral joins allow for quite the good eDSL

32 pointsby nitroslast Monday at 2:07 PM1 commentview on HN

Comments

jbmsftoday at 10:27 PM

We stumbled across much the same thing building out a query layer of composable join clauses. In previous efforts at something similar, I've used CTEs, but found the ergonomics worse because the query layer had to differentiate between cte clauses and regular ones.