Liking cljdoc? Tell your friends :D

datahike.db.utils


attr->propertiesclj

(attr->properties k v)
source

attr-infoclj

(attr-info db attr)

Returns identifier name and reference value of an attributes. Both values are identical for non-reference databases.

Returns identifier name and reference value of an attributes. Both values are identical for non-reference databases.
sourceraw docstring

component?clj

(component? db attr)
source

components->patternclj

(components->pattern db index [c0 c1 c2 c3] default-e default-tx)
source

db?clj

(db? x)
source

distinct-datomsclj

(distinct-datoms db current-datoms history-datoms)
source

entidclj

(entid db eid)
(entid db eid error-code)
source

entid-someclj

(entid-some db eid)
source

entid-strictclj

(entid-strict db eid)
(entid-strict db eid error-code)
source

filter-txInstantclj

(filter-txInstant datoms pred db)
source

ident-name?clj

(ident-name? x)
source

indexing?clj

(indexing? db attr)
source

is-attr?clj

(is-attr? db attr property)
source

multival?clj

(multival? db attr)
source

no-history?clj

(no-history? db attr)
source

numeric-entid?clj

(numeric-entid? x)
source

reduce-indexedclj

(reduce-indexed f init xs)

Same as reduce, but f takes [acc el idx]

Same as reduce, but `f` takes [acc el idx]
sourceraw docstring

ref?clj

(ref? db attr)
source

resolve-datomclj

(resolve-datom db e a v t default-e default-tx)
source

reverse-refclj

(reverse-ref ident)
source

reverse-ref?clj

(reverse-ref? ident)
source

rschemaclj

(rschema schema)
source

system-attrib-ref?clj

(system-attrib-ref? db attr)
source

temporal-contextclj

source

temporal-datomsclj

(temporal-datoms db index-type cs)
source

tuple-source?clj

(tuple-source? db attr)

Returns true if 'attr' is an attribute basis of a tuple attribute. E.g. ':a' is an attribute part of the tuple attribute ':a+b'. (tuple-source? :a) returns true.

Returns true if 'attr' is an attribute basis of a tuple attribute.
E.g. ':a' is an attribute part of the tuple attribute ':a+b'.
(tuple-source? :a) returns true.
sourceraw docstring

tuple?clj

(tuple? db attr)

Returns true if 'attr' is a tuple attribute. I.e., if 'attr' value is of type ':db.type/tuple'

Returns true if 'attr' is a tuple attribute.
I.e., if 'attr' value is of type ':db.type/tuple'
sourceraw docstring

validate-attrclj

(validate-attr attr at db)
source

validate-attr-identclj

(validate-attr-ident a-ident at db)
source

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

× close