Common code shared by various after-
methods. Since the after
methods operate over instances, we need to upgrade
result-type/pks
and result-type/update-count
queries to result-type/instances
, run them with the 'upgraded'
result type, run our after stuff on each row, and then return the original results.
Common code shared by various `after-` methods. Since the `after` methods operate over instances, we need to upgrade `result-type/pks` and `result-type/update-count` queries to `result-type/instances`, run them with the 'upgraded' result type, run our after stuff on each row, and then return the original results.
(each-row-fn query-type₁ model₂)
Should return a function with the signature
(f instance)
This function is only done for side-effects for query types that return update counts or PKs.
Should return a function with the signature ```clj (f instance) ``` This function is only done for side-effects for query types that return update counts or PKs.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close