ClojureQL - SQL DSL for Clojure(bestinclass.dk)
bestinclass.dk
ClojureQL - SQL DSL for Clojure
http://www.bestinclass.dk/index.php/2009/12/clojureql-where-are-we-going/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+bestinclass-the-blog+%28Best+in+Class+-+The+Blog%29
2 comments
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.)
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.)
it does seem a lot more verbose than it should be.
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.
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.