Whether to skip applying default Fields because the query already includes explicit fields, e.g. :select for a Honey
SQL query.
Whether to skip applying default Fields because the query already includes explicit fields, e.g. `:select` for a Honey SQL query.
(default-fields model)The default fields to return for a model model that derives from :toucan2.tools.default-fields/default-fields. You
probably don't need to use this directly; use toucan2.tools.default-fields/define-default-fields instead.
default-fields is defined in toucan2.tools.default-fields (toucan2/tools/default_fields.clj:23).
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.default-fields (toucan2/tools/default_fields.clj:31)The default fields to return for a model `model` that derives from `:toucan2.tools.default-fields/default-fields`. You
probably don't need to use this directly; use [[toucan2.tools.default-fields/define-default-fields]] instead.
default-fields is defined in [[toucan2.tools.default-fields]] (toucan2/tools/default_fields.clj:23).
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.default-fields]] (toucan2/tools/default_fields.clj:31) 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 |