Liking cljdoc? Tell your friends :D

toucan2.tools.before-update


before-updateclj

(before-update model₁ row)

Do before-update operations for side effects and transformations to a row (presumably a Toucan instance?) before applying an UPDATE operation.

before-update is defined in toucan2.tools.before-update (toucan2/tools/before_update.clj:21).

It caches methods using a methodical.impl.cache.watching.WatchingCache.

It uses the method combination methodical.impl.combo.threaded.ThreadingMethodCombination with the threading strategy :thread-last.

It uses the dispatcher methodical.impl.dispatcher.multi_default.MultiDefaultDispatcher with hierarchy #'clojure.core/global-hierarchy and prefs {}.

The default value is :default.

It uses the method table methodical.impl.method_table.standard.StandardMethodTable.

These aux methods are known:

:around methods:

Do before-update operations for side effects and transformations to a `row` (presumably a Toucan instance?) before
  applying an UPDATE operation.

before-update is defined in [[toucan2.tools.before-update]] (toucan2/tools/before_update.clj:21).

It caches methods using a `methodical.impl.cache.watching.WatchingCache`.

It uses the method combination `methodical.impl.combo.threaded.ThreadingMethodCombination`
with the threading strategy `:thread-last`.

It uses the dispatcher `methodical.impl.dispatcher.multi_default.MultiDefaultDispatcher`
with hierarchy `#'clojure.core/global-hierarchy`
and prefs `{}`.

The default value is `:default`.

It uses the method table `methodical.impl.method_table.standard.StandardMethodTable`.

These aux methods are known:

`:around` methods:

* `:default`, defined in [[toucan2.tools.before-update]] (toucan2/tools/before_update.clj:30) 
sourceraw docstring

define-before-updatecljmacro

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

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

× close