summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index 97f1afb..650c9fe 100644
--- a/README.md
+++ b/README.md
@@ -229,7 +229,21 @@ be the return value of the associated query function call (`deref`,
(q/group [:age] {:name :name}))
;=> Exception! Expr is not a function application - could not possible be an aggregate
-* **Breaking:** Remove `having`, use `select` instead now
+* **Breaking:** remove `having`, use `select` instead now
+
+* **Breaking:** make query executors query local, rather than
+ global. This changed two things in particular:
+
+ * `table` now takes a second, optional, argument representing a
+ query executor
+
+ * `set-query-executor!` is no longer present, use
+ `set-default-query-executor!` instead (which will be used
+ whenever `table`'s optional argument is omitted)
+
+ As a result of this, the `use-jdbc!` function has been
+ removed. To connect to a database via jdbc use this:
+ `(set-default-query-executor (clojure-sql.jdbc/jdbc-executor "connection-string"))`
* `sort` can now sort on arbitrary expressions, not just fields