summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-06-20 13:58:31 +1000
committerCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-06-20 13:58:31 +1000
commit3ce695f6b2daf943490b2b4a9dac7be01bdd6356 (patch)
tree1da9ab364603d2f784ab3e6a44ceb9003811d91e /README.md
parentb8fef59b7b85ae414ad64d2fb6540b3aea66602c (diff)
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).
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
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