Liking cljdoc? Tell your friends :D

metabase.sync.sync-metadata.fks

Logic for updating FK properties of Fields from metadata fetched from a physical DB.

Logic for updating FK properties of Fields from metadata fetched from a physical DB.
raw docstring

sync-fks!clj

(sync-fks! database)

Inputs: [database :- i/DatabaseInstance]

Sync the foreign keys in a DATABASE. This sets appropriate values for relevant Fields in the Metabase application DB based on values from the FKMetadata returned by describe-table-fks.

Inputs: [database :- i/DatabaseInstance]

Sync the foreign keys in a DATABASE. This sets appropriate values for relevant Fields in the Metabase application DB
 based on values from the `FKMetadata` returned by `describe-table-fks`.
sourceraw docstring

sync-fks-for-table!clj

(sync-fks-for-table! table)
(sync-fks-for-table! database table)

Inputs: ([table :- i/TableInstance] [database :- i/DatabaseInstance table :- i/TableInstance])

Sync the foreign keys for a specific TABLE.

Inputs: ([table :- i/TableInstance] [database :- i/DatabaseInstance table :- i/TableInstance])

Sync the foreign keys for a specific TABLE.
sourceraw docstring

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

× close