Underlying DB model for what is now most commonly referred to as a 'Question' in most user-facing situations. Card is a historical name, but is the same thing; both terms are used interchangeably in the backend codebase.
Underlying DB model for what is now most commonly referred to as a 'Question' in most user-facing situations. Card is a historical name, but is the same thing; both terms are used interchangeably in the backend codebase.
(Card)
(Card id)
(Card & kvs)
Entity for 'report_card' table; instance of CardInstance.
Entity for 'report_card' table; instance of CardInstance.
(card-dependencies {{query-type :type inner-query :query} :dataset_query})
(card-dependencies _ _ card)
Calculate any dependent objects for a given card
.
Calculate any dependent objects for a given `card`.
(dashboard-count {:keys [id]})
Return the number of Dashboards this Card is in.
Return the number of Dashboards this Card is in.
(populate-query-fields {{query-type :type :as outer-query} :dataset_query
:as card})
Lift database_id
, table_id
, and query_type
from query definition.
Lift `database_id`, `table_id`, and `query_type` from query definition.
(serialize-instance instance)
(serialize-instance _ _ instance)
Serialize a Card
for use in a Revision
.
Serialize a `Card` for use in a `Revision`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close