Meet Korma, a SQL DSL for Clojure
Not saying this isn't a great, useful library.<p>But - what do people have against SQL? As far as I can see, it's a pretty good language for relational data manipulation. But lots of people act like actually writing SQL is dirty work. It's not. It's an elegant, expressive language, for what it does.<p>Of course, use something like this if you have a documentable need for the flexibility/composability. If you're generating lots of custom queries, it may be justified.<p>But in nine out of ten projects I've seen which use a RDBMS, the system could be made substantially simpler, more performant <i>and</i> more flexible by just writing raw SQL queries instead of screwing around with ORMs.