Liking cljdoc? Tell your friends :D

metabase.models.dashboard


add-dashcard!clj

(add-dashcard! dashboard-or-id card-or-id-or-nil & [dashcard-options])

Add a Card to a Dashboard. This function is provided for convenience and also makes sure various cleanup steps are performed when finished, for example updating FieldValues for On-Demand DBs. Returns newly created DashboardCard.

Add a Card to a Dashboard.
This function is provided for convenience and also makes sure various cleanup steps are performed when finished,
for example updating FieldValues for On-Demand DBs.
Returns newly created DashboardCard.
sourceraw docstring

Dashboardclj

(Dashboard)
(Dashboard id)
(Dashboard & kvs)

Entity for 'report_dashboard' table; instance of DashboardInstance.

Entity for 'report_dashboard' table; instance of DashboardInstance.
sourceraw docstring

diff-dashboards-strclj

(diff-dashboards-str dashboard₁ dashboard₂)

Describe the difference between two Dashboard instances.

Describe the difference between two Dashboard instances.
sourceraw docstring

ordered-cardsclj

(ordered-cards dashboard-or-id)

Return the DashboardCards associated with dashboard, in the order they were created.

Return the DashboardCards associated with `dashboard`, in the order they were created.
sourceraw docstring

save-transient-dashboard!clj

(save-transient-dashboard! dashboard parent-collection-id)

Save a denormalized description of dashboard.

Save a denormalized description of `dashboard`.
sourceraw docstring

serialize-dashboardclj

(serialize-dashboard dashboard)

Serialize a Dashboard for use in a Revision.

Serialize a Dashboard for use in a Revision.
sourceraw docstring

update-dashcards!clj

(update-dashcards! dashboard-or-id dashcards)

Update the dashcards belonging to dashboard-or-id. This function is provided as a convenience instead of doing this yourself; it also makes sure various cleanup steps are performed when finished, for example updating FieldValues for On-Demand DBs. Returns nil.

Update the `dashcards` belonging to `dashboard-or-id`.
This function is provided as a convenience instead of doing this yourself; it also makes sure various cleanup steps
are performed when finished, for example updating FieldValues for On-Demand DBs.
Returns `nil`.
sourceraw docstring

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

× close