From fe1a2f5ef652cb943be14982f31b3ad236d00629 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Mon, 25 Nov 2013 01:18:19 +1100 Subject: Remove a stupid testing thing, update the README a touch --- README.md | 3 +++ src/clojure_sql/core.clj | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2eed039..046b534 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,9 @@ be the return value of the associated query function call (`deref`, deref) ;; => {:user {:id 5 :username "username"}} +* Provide `distinct` to make a query only return unique rows + + ### 0.1.0 * Initial release, so everything's new diff --git a/src/clojure_sql/core.clj b/src/clojure_sql/core.clj index 613adf6..67b2c4d 100644 --- a/src/clojure_sql/core.clj +++ b/src/clojure_sql/core.clj @@ -64,10 +64,4 @@ (assert (:executor query) "Cannot execute a query without a query executor") (q/delete! (:executor query) query)) -(join (-> (table :x) - (project [:a :b])) - (-> (table :x) - (project [:a :b]) - distinct)) - -- cgit v1.2.3