Liking cljdoc? Tell your friends :D
Clojure only.

metabase.sync.sync-metadata.fields.sync-metadata

Logic for updating metadata properties of Field instances in the application database as needed -- this includes the base type, database type, special type, and comment/remark (description) properties. This primarily affects Fields that were not newly created; newly created Fields are given appropriate metadata when first synced.

Logic for updating metadata properties of `Field` instances in the application database as needed -- this includes
the base type, database type, special type, and comment/remark (description) properties. This primarily affects
Fields that were not newly created; newly created Fields are given appropriate metadata when first synced.
raw docstring

update-metadata!clj

(update-metadata! table db-metadata our-metadata)

Inputs: [table :- i/TableInstance db-metadata :- #{i/TableMetadataField} our-metadata :- #{common/TableMetadataFieldWithID}] Returns: su/IntGreaterThanOrEqualToZero

Make sure things like PK status and base-type are in sync with what has come back from the DB. Recursively updates nested Fields. Returns total number of Fields updated.

Inputs: [table :- i/TableInstance db-metadata :- #{i/TableMetadataField} our-metadata :- #{common/TableMetadataFieldWithID}]
Returns: su/IntGreaterThanOrEqualToZero

Make sure things like PK status and base-type are in sync with what has come back from the DB. Recursively updates
nested Fields. Returns total number of Fields updated.
sourceraw docstring

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

× close