(Field)
(Field id)
(Field & kvs)
Entity for 'metabase_field' table; instance of FieldInstance.
Entity for 'metabase_field' table; instance of FieldInstance.
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.
(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`.
(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]`.
(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
(table field)
Return the Table
associated with this Field
.
Return the `Table` associated with this `Field`.
(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.
(unix-timestamp? {:keys [base_type special_type]})
Is field a UNIX timestamp?
Is field a UNIX timestamp?
(values {:keys [id]})
Return the FieldValues
associated with this FIELD.
Return the `FieldValues` associated with this FIELD.
Possible values for Field.visibility_type
.
Possible values for `Field.visibility_type`.
(with-dimensions fields)
Efficiently hydrate the Dimension
for a collection of FIELDS.
Efficiently hydrate the `Dimension` for a collection of FIELDS.
(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.
(with-normal-values fields)
Efficiently hydrate the FieldValues
for visibility_type normal FIELDS.
Efficiently hydrate the `FieldValues` for visibility_type normal FIELDS.
(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.
(with-values fields)
Efficiently hydrate the FieldValues
for a collection of FIELDS.
Efficiently hydrate the `FieldValues` for a collection of FIELDS.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close