(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.
(ave-form-eset? schema attr)
(ave-form-single-e? schema attr)
(cardinality-many? schema attr)
(check-attr {:keys [db/schema]} attr prop)
Returns a property prop
value for attribute attr
.
Returns a property `prop` value for attribute `attr`.
(component? schema attr)
(create-db schema)
Returns an empty database with schema
.
Returns an empty database with `schema`.
(entity-id? id)
(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`.
(lookup-ref? id)
(name-begins-with-underscore? attr-name)
(pull db pattern id)
(pull-many db pattern ids)
(ref-type? schema attr)
(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.
(tempid? id)
(trans db tx-data)
(transact {:keys [db/eav db/ave db/schema db/tx-count] :as db} tx-data)
(unique-identity? schema attr)
(unique? schema attr)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close