Liking cljdoc? Tell your friends :D
Clojure only.

juxt.pull.core


pullclj

(pull data query)
(pull data query opts)

Take a query, and some state. Return a map. Optionally opts is map, which can have kv pairs:

  • :shadow a shadow attributes map
  • :stealth a stealth attributes set
  • :no-wildcard? wildcard will be ignored

the shadow attributes map defines attributes not really exists, but can be calculated by a function takes a single argument (parent data), returns a value as the attribute value.

all key inside stealth attributes set will not appeared in the returned data as if non-exists, perfectly for sensitive data.

Take a query, and some state. Return a map.
Optionally opts is map, which can have kv pairs:

 - :shadow a shadow attributes map
 - :stealth a stealth attributes set
 - :no-wildcard? wildcard will be ignored

the shadow attributes map defines attributes not really exists,
but can be calculated by a function takes a single argument (parent data),
returns a value as the attribute value.

all key inside stealth attributes set will not appeared in the
returned data as if non-exists, perfectly for sensitive data.
sourceraw docstring

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

× close