(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]].
(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.(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.
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 |