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