Liking cljdoc? Tell your friends :D

entity-graph.core


attr-name->reverseclj/s

(attr-name->reverse attr-name)

Returns reverse reference version of attr-name by adding an underscore to the name segment of keyword.

Returns reverse reference version of `attr-name` by adding an underscore to the name segment of keyword.
raw docstring

ave-form-eset?clj/s

(ave-form-eset? schema attr)

ave-form-single-e?clj/s

(ave-form-single-e? schema attr)

cardinality-many?clj/s

(cardinality-many? schema attr)

check-attrclj/s

(check-attr {:keys [db/schema]} attr prop)

Returns a property prop value for attribute attr.

Returns a property `prop` value for attribute `attr`.
raw docstring

component?clj/s

(component? schema attr)

create-dbclj/s

(create-db schema)

Returns an empty database with schema.

Returns an empty database with `schema`.
raw docstring

entity-id?clj/s

(entity-id? id)

find-reverse-refsclj/s

(find-reverse-refs {:keys [db/schema db/ave]} target-id)

Returns a set of [attr eid] vectors representing reverse refs to target-id.

Returns a set of [attr eid] vectors representing reverse refs to `target-id`.
raw docstring

lookup-ref?clj/s

(lookup-ref? id)

name-begins-with-underscore?clj/s

(name-begins-with-underscore? attr-name)

pullclj/s

(pull db pattern id)

pull-manyclj/s

(pull-many db pattern ids)

ref-type?clj/s

(ref-type? schema attr)

reverse->attr-nameclj/s

(reverse->attr-name reverse-attr-name)

Returns reverse-attr-name as a keyword without the initial underscore in the name segment of keyword.

Returns `reverse-attr-name` as a keyword without the initial underscore in the name segment of keyword.
raw docstring

tempid?clj/s

(tempid? id)

transclj/s

(trans db tx-data)

transactclj/s

(transact {:keys [db/eav db/ave db/schema db/tx-count] :as db} tx-data)

unique-identity?clj/s

(unique-identity? schema attr)

unique?clj/s

(unique? schema attr)

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

× close