Liking cljdoc? Tell your friends :D

toucan2.tools.before-update


apply-before-update-to-matching-rowsclj

(apply-before-update-to-matching-rows model {:keys [changes] :as parsed-args})

Fetch the matching rows based on original parsed-args; apply before-update to each. Return a new sequence of parsed args map that should be used to perform 'replacement' update operations.

Fetch the matching rows based on original `parsed-args`; apply [[before-update]] to each. Return a new *sequence* of
parsed args map that should be used to perform 'replacement' update operations.
sourceraw docstring

before-updateclj

(before-update model row)
source

changes->affected-pk-mapsclj

(changes->affected-pk-maps model reducible-matching-rows changes)
source

define-before-updatecljmacro

(define-before-update model [instance-binding] & body)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close