Liking cljdoc? Tell your friends :D

datascript.query


*implicit-source*

Default pattern source. Lookup refs, patterns, rules will be resolved with it

Default pattern source. Lookup refs, patterns, rules will be resolved with it
sourceraw docstring

*lookup-attrs*

List of symbols in current pattern that might potentiall be resolved to refs

List of symbols in current pattern that might potentiall be resolved to refs
sourceraw docstring

-aggregate

(-aggregate find-elements context tuples)
source

-call-fn

(-call-fn context rel f args)
source

-collect

(-collect context symbols)
(-collect acc rels symbols)
source

-q

(-q context clauses)
source

-resolve-clause

(-resolve-clause context clause)
(-resolve-clause context clause orig-clause)
source

aggregate

(aggregate find-elements context resultset)
source

attr?

(attr? form)
source

bind-by-fn

(bind-by-fn context clause)
source

built-in-aggregates

source

built-ins

source

check-bound

(check-bound context vars form)
source

collapse-rels

(collapse-rels rels new-rel)
source

collect

(collect context symbols)
source

collect-vars

(collect-vars clause)
source

concatv

(concatv & xs)
source

Context

source

dynamic-lookup-attrs

(dynamic-lookup-attrs source pattern)
source

empty-rel

(empty-rel binding)
source

expand-rule

(expand-rule clause context used-args)
source

filter-by-pred

(filter-by-pred context clause)
source

free-var?

(free-var? sym)
source

getter-fn

(getter-fn attrs attr)
source

hash-attrs

(hash-attrs key-fn tuples)
source

hash-join

(hash-join rel1 rel2)
source

IBindingprotocol

in->rel
(in->rel binding value)
source

IContextResolveprotocol

-context-resolve
(-context-resolve var context)
source

intersect-keys

(intersect-keys attrs1 attrs2)
source

IPostProcessprotocol

-post-process
(-post-process find tuples)
source

join-tuples

(join-tuples t1 idxs1 t2 idxs2)
source

limit-context

(limit-context context vars)
source

limit-rel

(limit-rel rel vars)
source

lookup-pattern

(lookup-pattern source pattern)
source

lookup-pattern-coll

(lookup-pattern-coll coll pattern)
source

lookup-pattern-db

(lookup-pattern-db db pattern)
source

lookup-ref?

(lookup-ref? form)
source

lru-cache-size

source

matches-pattern?

(matches-pattern? pattern tuple)
source

memoized-parse-query

(memoized-parse-query q)
source

normalize-pattern-clause

(normalize-pattern-clause clause)
source

parse-rules

(parse-rules rules)
source

prod-rel

(prod-rel)
(prod-rel rel1 rel2)
source

q

(q q & inputs)
source

Relation

source

remove-pairs

(remove-pairs xs ys)
source

resolve-clause

(resolve-clause context clause)
source

resolve-in

(resolve-in context [binding value])
source

resolve-ins

(resolve-ins context bindings values)
source

resolve-pattern-lookup-refs

(resolve-pattern-lookup-refs source pattern)
source

rule-gen-guards

(rule-gen-guards rule-clause used-args)
source

rule-seqid

source

rule?

(rule? context clause)
source

same-keys?

(same-keys? a b)
source

single

(single coll)
source

solve-rule

(solve-rule context clause)
source

source?

(source? sym)
source

split-guards

(split-guards clauses guards)
source

subtract-rel

(subtract-rel a b)
source

sum-rel

(sum-rel a b)
source

tuple-key-fn

(tuple-key-fn getters)
source

walk-collect

(walk-collect form pred)
source

zip

(zip a b)
(zip a b & rest)
source

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

× close