Liking cljdoc? Tell your friends :D

spirit.io.datomic.process.pipeline.underscore


rep-keyclj

(rep-key tsch)
(rep-key tsch lvl)

finds the :required or :representative key within a schema, otherwise throws an error (rep-key (:account examples/account-orders-items-image)) => [:user]

(rep-key (:order examples/account-orders-items-image)) => (throws-info {:needs-require-key true})

finds the :required or :representative key within a schema,
otherwise throws an error
(rep-key (:account examples/account-orders-items-image))
=> [:user]

(rep-key (:order examples/account-orders-items-image))
=> (throws-info {:needs-require-key true})
raw docstring

wrap-branch-underscoreclj

(wrap-branch-underscore f)

wraps normalise to process underscores (pipeline/normalise {:account '} {:schema (schema/schema examples/account-orders-items-image) :command :query} {:normalise-branch [wrap-branch-underscore]}) => {:account {:user '#{}}}

wraps normalise to process underscores
(pipeline/normalise {:account '_}
                     {:schema (schema/schema examples/account-orders-items-image)
                      :command :query}
                     {:normalise-branch [wrap-branch-underscore]})
=> {:account {:user '#{_}}}
raw docstring

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

× close