Skip to content
This repository

ClojureQL is superior SQL integration for Clojure

branch: master

Merge pull request #140 from delver/issue-139

Renaming with aliases generates invalid SQL fragment, resolves Issue 139
latest commit 91b5211a24
Lau B. Jensen authored
Octocat-spinner-32 docs Add documentation in docs/ - copy of… January 03, 2013
Octocat-spinner-32 src Fix indents July 09, 2013
Octocat-spinner-32 test Test to expose issue #139 July 09, 2013
Octocat-spinner-32 .gitignore Added factory constructor for Table November 01, 2010
Octocat-spinner-32 .travis.yml no with profile in lein1 July 09, 2013
Octocat-spinner-32 Release 1.0.4 September 07, 2012
Octocat-spinner-32 Added November 25, 2010
Octocat-spinner-32 LICENSE Project creation. October 31, 2010
Octocat-spinner-32 Update February 28, 2013
Octocat-spinner-32 project.clj Release 1.0.4 September 07, 2012


ClojureQL is an abstraction layer sitting on top of standard low-level JDBC SQL integration. It lets you interact with a database through a series of objects which work as Clojure data types.

ClojureQL is modeled around the primitives defined in Relational Algebra.

For the user, this means that all queries compose and are never executed unless dereferenced or called with a function that has the ! suffix.

As a help for debugging, wrap your statements in (binding [*debug* true]) to see the compiled SQL statement printed to stdout.


Add the following to your project.clj or pom.xml:

Cake/Lein artifact:

[clojureql "1.0.4"]



Then execute

cake deps

And import the library into your namespace

(:use clojureql.core)


Please visit for updated documentation.


ClojureQL is primarily developed by Lau Jensen of Best In Class.

Large and significant contributions to both the design and codebase have been rendered by Justin Balthrop aka. ninjudd author of the powerful build tool Cake.

In addition, the following people have made important contributions to ClojureQL:

  • Roman Scherer (r0man)
  • Christian Kebekus (ck)
  • Herwig Hochleitner (bendlas)


Eclipse Public License - v 1.0, see LICENSE.

Something went wrong with that request. Please try again.