Using korma

43 views
Skip to first unread message

John D. Hume

unread,
Mar 26, 2012, 8:21:08 AM3/26/12
to clj-rec...@googlegroups.com
Anybody have thoughts on backing clj-record with korma[1]?

The query composability looks as good as ClojureQL's, but the
usability (and predictability of generated SQL) looks better. I like
that it bundles c3po, though I haven't seen yet how you disable that
if you're already using a connection pool or datasource. I think all
the existing clj-record API could be supported by korma, and new stuff
for composing queries could be exposed.

My main points of hesitation are that it's still in 0.x, so there will
likely be breaking changes introduced before 1.0 and that it uses
:key.word syntax, which isn't officially supported.[2]

-hume.

[1] http://sqlkorma.com/
[2] http://clojure.org/reader#toc1

--
http://elhumidor.blogspot.com/
http://www.intentmedia.com/jobs

Daniel Renfer

unread,
Mar 26, 2012, 9:02:13 AM3/26/12
to clj-rec...@googlegroups.com
While I haven't tried to use clj-record with korma, I had a project
that I started off using clj-record and then switched to Korma and
ended up re-implementing (partially) many of the methods that I was
used to in clj-record.

IMO, modifying clj-record to use Korma under the hood would be a
worthwhile effort and might bring some attention back to this project.

Reply all
Reply to author
Forward
0 new messages