From 3ce695f6b2daf943490b2b4a9dac7be01bdd6356 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Thu, 20 Jun 2013 13:58:31 +1000 Subject: A few small changes/fixes to join behaviour, and code cleanup Fix compilation of cross joins. Remove the sort clauses on queries when they become subqueries in joins because then the sorting means nothing (although when take/drop stuff is added the sort will be relevant, so we'll see about that). Favour the left side of a join, which is mostly only relevant for the outer join case (and technically it's not quite right for full-outer joins, maybe, but I'll get to that later). --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e9ebb86..401d37d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ allow for data to be inserted, updated and deleted. queries is performed by multimethods which dispatch on an arbitrary (and otherwise unused) `db` parameter. This allows the compilation of queries to be entirely special-cased per database. By default -`clojure-sql` will produce standard SQL. +`clojure-sql` will produce standard ANSI SQL. ## Usage @@ -40,7 +40,7 @@ queries to be entirely special-cased per database. By default (s/project [:username])) ; => ["SELECT \"u\".\"username\" FROM \"users\" AS \"u\" JOIN \"people\" AS \"p\" ON (\"u\".\"id\" = \"p\".\"id\") WHERE (\"p\".\"fname\" = ?)" "Henry")] - (s/use-jdbc!) + (s/use-jdbc!) ; TODO ; => nil -- cgit v1.2.3