(focus-query query path)
Given a query, focus it along the specified path.
Examples: (focus-query [:foo :bar :baz] [:foo]) => [:foo]
(fulcro.client.primitives/focus-query [{:foo [:bar :baz]} :woz] [:foo :bar]) => [{:foo [:bar]}]
Given a query, focus it along the specified path. Examples: (focus-query [:foo :bar :baz] [:foo]) => [:foo] (fulcro.client.primitives/focus-query [{:foo [:bar :baz]} :woz] [:foo :bar]) => [{:foo [:bar]}]
(ident? x)
Returns true if x is an ident.
Returns true if x is an ident.
(reduce-query-depth q k)
Changes a join on key k with depth limit from [:a {:k n}] to [:a {:k (dec n)}]
Changes a join on key k with depth limit from [:a {:k n}] to [:a {:k (dec n)}]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close