diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)) |