News for hackers. Stuff that matters.
Re:Bye Bye Mongo, Hello Postgres by mopierotti on Wednesday December 19, 2018 @06:59PM (#18721220)
To add to the pile of responses: in Scala, Slick is great library that lets you compose sql queries and fragments of queries quite effectively. (http://slick.lightbend.com/)

At my company we built a UI on top of Slick that lets users of our web app define complex triggers based on dynamic fields and conditions which are translated to type-safe SQL queries.

Re:Bye Bye Mongo, Hello Postgres by vips7L on Wednesday December 19, 2018 @09:46PM (#18722091)
QueryDSL and jOOq as well for java.