summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 1e2e638..bfe487d 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Latest release: `0.1.0`
(require '[clojure-sql.jdbc :as jdbc])
(jdbc/use-jdbc! "postgres://user:pass@localhost:5432/db")
-
+
(-> (s/table :users)
(s/project [:id :username])
deref)
@@ -133,10 +133,10 @@ The primary operations available in `clojure-sql` are the following:
:::clojure
(def users (-> (s/table :users)
(s/project [:id :username :person])))
-
+
(def people (-> (s/table :people)
(s/project [:id :name])))
-
+
(s/join (s/rename users (s/as-subobject :user))
(s/rename people (s/as-subobject :person))
:on `(= :user.person :person.id))