Re:What ORMs have taught me: just learn SQL
by davedx on Tuesday August 05, 2014 @06:26AM
(#8136239)
Except stored procedures have to be stored in the database AND usually end up in source control too. At least with this library there is one source for your queries. Also, they are compiled into your language as first class functions, which I like too... kind of like how JSON is a first class citizen in JavaScript.
I really like the approach.
Re:What ORMs have taught me: just learn SQL
by casperc on Tuesday August 05, 2014 @12:36PM
(#8137784)
I think alot of people (including myself and my team) just tend to get on with their lives and use clojure/java.jdbc. Sure it's not that sexy, but it gets the job done.
And for the 80-90% queries you can create a small function or namespace with a nice API and converts to the types you like.
The Clojure SQL ecosystem is weird. clojureql seemed wonderful for a while, but has been left to rot and the fact that nobody's really picked it up implies people have just moved on with their lives. Korma and YeSQL seem to handle most of the Rails-like use cases, and I guess everyone else has moved to more esoteric datastores.