Liking cljdoc? Tell your friends :D
Clojure only.

metabase.types

The Metabase Hierarchical Type System (MHTS). This is a hierarchy where types derive from one or more parent types, which in turn derive from their own parents. This makes it possible to add new types without needing to add corresponding mappings in the frontend or other places. For example, a Database may want a type called something like :type/CaseInsensitiveText; we can add this type as a derivative of :type/Text and everywhere else can continue to treat it as such until further notice.

The Metabase Hierarchical Type System (MHTS). This is a hierarchy where types derive from one or more parent types,
which in turn derive from their own parents. This makes it possible to add new types without needing to add
corresponding mappings in the frontend or other places. For example, a Database may want a type called something
like `:type/CaseInsensitiveText`; we can add this type as a derivative of `:type/Text` and everywhere else can
continue to treat it as such until further notice.
raw docstring

types->parentsclj

(types->parents)
(types->parents root)

Return a map of various types to their parent types. This is intended for export to the frontend as part of MetabaseBootstrap so it can build its own implementation of isa?.

Return a map of various types to their parent types.
This is intended for export to the frontend as part of `MetabaseBootstrap` so it can build its own implementation of `isa?`.
sourceraw docstring

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

× close