:agg behaviour changed for empty relations when grouping all rows (see below):join & :left-join). Previously you had to mat the join or create a specific :hash index with exactly the same indexed expressions.:agg behaviour change (minor breaking):agg with over all rows now always returns a row with default values instead of nil.
e.g [[:const] [:agg [] [:n count]]] will return [{:n 0}] instead of nil.
This is closer to SQL and will mean a constraint like [[:from :a] [:agg [] [:n count]] [:check [= 1 :n]]] will throw if there are no rows, instead of just if there are more than 1.
[:_ kw] with indexed :where queriesrel/rowrel/exists?rel/transact can now take a function of db to tx op, i.e a transaction function.:constrain form internals change, fixing issues with upserts not seeing :unique indexes, and therefore throwing.:unique exception messages contain the index keys (and table if possible) to aid in debugging(index) now returns nil for non-index operators (keep it secret, keep it safe.)Initial release
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |