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.
(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`.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close