std.lib.schema
check-fn-columns
added in 4.0
(check-fn-columns tsch data)perform a check using the :check key
(schema/check-fn-columns -tsch- {:status ’a}) => {}
check-missing-columns
added in 4.0
(check-missing-columns tsch columns required-fn)check if columns are missing
check-valid-columns
added in 4.0
(check-valid-columns tsch columns)check if columns are valid
get-returning
added in 4.0
(get-returning tsch returning)collects the returning ids and columns
(->> (schema/get-returning -tsch- :*/data :cache) (map first)) => ’(:id :status :name :cache :time-created :time-updated)
schema
added in 3.0
(schema x)(schema x defaults)creates an extended schema for use by spirit
with:ref-fn
macro
added in 4.0
(with:ref-fn [ref-fn] & body)passes a function for use in reverse-ref-attr method to add additional params to schema