Liking cljdoc? Tell your friends :D

toucan2.tools.transformed


apply-in-transformsclj

(apply-in-transforms model {:keys [kv-args] :as args})

apply-row-transformclj

(apply-row-transform instance k xform)

in-transformsclj

(in-transforms model)

out-transformsclj

(out-transforms model)

row-transform-fnclj

(row-transform-fn transforms)

transform-insert-rowsclj

(transform-insert-rows [first-row :as rows] transforms)

transform-kv-argsclj

(transform-kv-args kv-args transforms)

transform-pkclj

(transform-pk pk-vals model transforms)

transform-result-rows-transducerclj

(transform-result-rows-transducer model)

Return a transducer to transform rows of model using its out-transforms.

Return a transducer to transform rows of `model` using its [[out-transforms]].
raw docstring

transformsclj

(transforms model)

Return a map of

{column-name {:in <fn>, :out <fn>}}

For a given model, all matching transforms are combined with merge-with merge in an indeterminate order, so don't try to specify multiple transforms for the same column in the same direction for a given model -- compose your transform functions instead if you want to do that. See toucan2.tools.helpers/deftransforms for more info.

Return a map of

  {column-name {:in <fn>, :out <fn>}}

For a given `model`, all matching transforms are combined with `merge-with merge` in an indeterminate order, so don't
try to specify multiple transforms for the same column in the same direction for a given model -- compose your
transform functions instead if you want to do that. See [[toucan2.tools.helpers/deftransforms]] for more info.
raw docstring

wrapped-transformsclj

(wrapped-transforms model direction)

Get the transforms functions for a model in a either the :in or :out direction; wrap the functions in try-catch forms so we can meaningful error messages if they fail.

Get the [[transforms]] functions for a model in a either the `:in` or `:out` direction; wrap the functions in
`try-catch` forms so we can meaningful error messages if they fail.
raw docstring

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

× close