Re:ClojureQL - SQL DSL for Clojure
by amix on Friday December 11, 2009 @12:04PM
(#990003)
I am a bit disappointed by this abstraction, especially given what power Clojure gives for creating DSLs. This "SQL DSL" seems to resemble a lot on how database handling works in Java.
The people behind ClojureQL should take a look at Python's SQLAlchemy or Ruby's Sequel for inspiration on how to create kick ass SQL abstractions.
Re:ClojureQL - SQL DSL for Clojure
by jrockway on Friday December 11, 2009 @01:07PM
(#990129)
It's not really much of an abstraction. You are still programming SQL, but you spell some things differently.
An abstraction is where you treat the relational data source like something closer to your application; perhaps as a queryable object store. (This is the abstraction that ORMs provide.)
Re:ClojureQL - SQL DSL for Clojure
by lbj on Saturday December 12, 2009 @06:41AM
(#991424)
Generally the comments in this post (currently 5) all demonstrate a misunderstanding of the core principles.
ClojureQL provides DB Agnosticism and language-level statement construction. On top of ClojureQL you could build any number of high-level abstractions, but ClojureQL is not an attempt at doing that.
The people behind ClojureQL should take a look at Python's SQLAlchemy or Ruby's Sequel for inspiration on how to create kick ass SQL abstractions.
An abstraction is where you treat the relational data source like something closer to your application; perhaps as a queryable object store. (This is the abstraction that ORMs provide.)
ClojureQL provides DB Agnosticism and language-level statement construction. On top of ClojureQL you could build any number of high-level abstractions, but ClojureQL is not an attempt at doing that.