My experience using JOOQ with Scala and Postgres
I've recently picked up JOOQ for building complex queries in Book of Revenue. I previously constructed raw SQLs using Slick. Slick is nice enough to support binding values and concatenating portions of SQL safely. Still, writing raw SQLs is friable. Reusing a subquery of SQLs in multiple queries