Liking cljdoc? Tell your friends :D

metabase.models.table


databaseclj

(database table)

Return the Database associated with this Table.

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

field-valuesclj

(field-values table)

Return the FieldValues for all Fields belonging to a single TABLE.

Return the `FieldValues` for all `Fields` belonging to a single TABLE.
sourceraw docstring

fieldsclj

(fields {:keys [id]})

Return the FIELDS belonging to a single TABLE.

Return the `FIELDS` belonging to a single TABLE.
sourceraw docstring

metricsclj

(metrics {:keys [id]})

Retrieve the Metrics for a single TABLE.

Retrieve the `Metrics` for a single TABLE.
sourceraw docstring

pk-field-idclj

(pk-field-id table)

Return the ID of the primary key Field for TABLE.

Return the ID of the primary key `Field` for TABLE.
sourceraw docstring

qualified-identifierclj

(qualified-identifier {schema :schema table-name :name})

Return a keyword identifier for TABLE in the form :schema.table-name (if the Table has a non-empty :schema field) or :table-name (if the Table has no :schema).

Return a keyword identifier for TABLE in the form `:schema.table-name` (if the Table has a non-empty `:schema` field)
or `:table-name` (if the Table has no `:schema`).
sourceraw docstring

segmentsclj

(segments {:keys [id]})

Retrieve the Segments for a single TABLE.

Retrieve the `Segments` for a single TABLE.
sourceraw docstring

Tableclj

(Table)
(Table id)
(Table & kvs)

Entity for 'metabase_table' table; instance of TableInstance.

Entity for 'metabase_table' table; instance of TableInstance.
sourceraw docstring

table-id->database-idclj

(table-id->database-id table-id)

Retrieve the Database ID for the given table-id.

Retrieve the `Database` ID for the given table-id.
sourceraw docstring

visibility-typesclj

Valid values for Table.visibility_type (field may also be nil). (Basically any non-nil value is a reason for hiding the table.)

Valid values for `Table.visibility_type` (field may also be `nil`).
(Basically any non-nil value is a reason for hiding the table.)
sourceraw docstring

with-fieldsclj

(with-fields tables)

Efficiently hydrate the Fields for a collection of TABLES.

Efficiently hydrate the `Fields` for a collection of TABLES.
sourceraw docstring

with-metricsclj

(with-metrics tables)

Efficiently hydrate the Metrics for a collection of TABLES.

Efficiently hydrate the `Metrics` for a collection of TABLES.
sourceraw docstring

with-segmentsclj

(with-segments tables)

Efficiently hydrate the Segments for a collection of TABLES.

Efficiently hydrate the `Segments` for a collection of TABLES.
sourceraw docstring

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

× close