summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--src/clojure_sql/core.clj6
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))
-