(compatibility-merge user-schema embedded-schema)
(foreign-key-object context obj)
(foreign-key-reference context x)
(merge-columns user-columns embedded-columns)
Creates any extra columns which exist in the embedded schema but which are not defined in the user metadata.
Creates any extra columns which exist in the embedded schema but which are not defined in the user metadata.
(schema context x)
(validate-column-references schema
context
key-name
column-names
required-property?)
(validate-column-references schema
context
key-name
column-names
required-property?
child-column-name-fn)
Validates all the referenced column names under the parent key exist in the given set of column names defined by the schema. If the reference column names do not appear directly under the parent key, child-column-name-fn should return all ancestor column names referenced within the value associated with key-name. If any referenced columns do not exist, a warning is added and the value associated with key-name is removed from the schema as though it was not specified.
Validates all the referenced column names under the parent key exist in the given set of column names defined by the schema. If the reference column names do not appear directly under the parent key, child-column-name-fn should return all ancestor column names referenced within the value associated with key-name. If any referenced columns do not exist, a warning is added and the value associated with key-name is removed from the schema as though it was not specified.
(validate-compatible validating?
{columns1 :columns :as schema1}
{columns2 :columns :as schema2})
(validate-schema-column-references context {:keys [columns] :as schema})
Validator which checks all column name properties within the schema reference columns defined in the columns collection. Any components which reference non-existent columns are removed.
Validator which checks all column name properties within the schema reference columns defined in the columns collection. Any components which reference non-existent columns are removed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close