Liking cljdoc? Tell your friends :D

metabase.models.field


Fieldclj

(Field)
(Field id)
(Field & kvs)

Entity for 'metabase_field' table; instance of FieldInstance.

Entity for 'metabase_field' table; instance of FieldInstance.
sourceraw docstring

has-field-values-optionsclj

Possible options for has_field_values. This column is used to determine whether we keep FieldValues for a Field, and which type of widget should be used to pick values of this Field when filtering by it in the Query Builder.

Possible options for `has_field_values`. This column is used to determine whether we keep FieldValues for a Field,
and which type of widget should be used to pick values of this Field when filtering by it in the Query Builder.
sourceraw docstring

qualified-nameclj

(qualified-name field)

Return a combined qualified name for FIELD, e.g. table_name.parent_field_name.field_name.

Return a combined qualified name for FIELD, e.g. `table_name.parent_field_name.field_name`.
sourceraw docstring

qualified-name-componentsclj

(qualified-name-components
  {field-name :name table-id :table_id parent-id :parent_id})

Return the pieces that represent a path to FIELD, of the form [table-name parent-fields-name* field-name].

Return the pieces that represent a path to FIELD, of the form `[table-name parent-fields-name* field-name]`.
sourceraw docstring

readable-fields-onlyclj

(readable-fields-only fields)

Efficiently checks if each field is readable and returns only readable fields

Efficiently checks if each field is readable and returns only readable fields
sourceraw docstring

tableclj

(table field)

Return the Table associated with this Field.

Return the `Table` associated with this `Field`.
sourceraw docstring

targetclj

(target {:keys [special_type fk_target_field_id]})

Return the FK target Field that this Field points to.

Return the FK target `Field` that this `Field` points to.
sourceraw docstring

unix-timestamp?clj

(unix-timestamp? {:keys [base_type special_type]})

Is field a UNIX timestamp?

Is field a UNIX timestamp?
sourceraw docstring

valuesclj

(values {:keys [id]})

Return the FieldValues associated with this FIELD.

Return the `FieldValues` associated with this FIELD.
sourceraw docstring

visibility-typesclj

Possible values for Field.visibility_type.

Possible values for `Field.visibility_type`.
sourceraw docstring

with-dimensionsclj

(with-dimensions fields)

Efficiently hydrate the Dimension for a collection of FIELDS.

Efficiently hydrate the `Dimension` for a collection of FIELDS.
sourceraw docstring

with-has-field-valuesclj

(with-has-field-values fields)

Infer what the value of the has_field_values should be for Fields where it's not set. See documentation for has-field-values-options above for a more detailed explanation of what these values mean.

Infer what the value of the `has_field_values` should be for Fields where it's not set. See documentation for
`has-field-values-options` above for a more detailed explanation of what these values mean.
sourceraw docstring

with-normal-valuesclj

(with-normal-values fields)

Efficiently hydrate the FieldValues for visibility_type normal FIELDS.

Efficiently hydrate the `FieldValues` for visibility_type normal FIELDS.
sourceraw docstring

with-targetsclj

(with-targets fields)

Efficiently hydrate the FK target fields for a collection of FIELDS.

Efficiently hydrate the FK target fields for a collection of FIELDS.
sourceraw docstring

with-valuesclj

(with-values fields)

Efficiently hydrate the FieldValues for a collection of FIELDS.

Efficiently hydrate the `FieldValues` for a collection of FIELDS.
sourceraw docstring

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

× close