Liking cljdoc? Tell your friends :D

eva.entity


-lookup-backwardsclj

(-lookup-backwards db eid attr)

Given db, entity-id, attribute, and optional not-found value, returns the set of datoms in the database that match the following conditions:

  1. match the pattern [_ attribute entity-id _]
  2. attribute has type :db.value/ref
Given db, entity-id, attribute, and optional not-found value,
returns the set of datoms in the database that match the following conditions:
1) match the pattern [_ attribute entity-id _]
2) attribute has type :db.value/ref
sourceraw docstring

-lookup-eidclj

(-lookup-eid db eid)

Given db and entity-id, returns the datoms in the database that match the following conditions:

  1. match the pattern [entity-id _ _ _] If not datoms match, nil is returned.
Given db and entity-id,
returns the datoms in the database that match the following conditions:
1) match the pattern [entity-id _ _ _]
If not datoms match, nil is returned.
sourceraw docstring

-lookup-forwardsclj

(-lookup-forwards db eid attr)

Given db, entity-id, attribute, and optional not-found value, returns the set of datoms in the database that match the following conditions:

  1. match the pattern [entity-id attribute _ _]
Given db, entity-id, attribute, and optional not-found value,
returns the set of datoms in the database that match the following conditions:
1) match the pattern [entity-id attribute _ _]
sourceraw docstring

datoms->cacheclj

(datoms->cache db datoms)
source

entityclj

(entity db eid)
source

entity-attrclj

(entity-attr db a datoms)
source

entity-cacheclj

(entity-cache entity)
source

entity-touched?clj

(entity-touched? e)
source

entity?clj

(entity? x)
source

equiv-entityclj

(equiv-entity this that)
source

lookup-entityclj

(lookup-entity this attr)
(lookup-entity this attr not-found)
source

read-keywordclj

(read-keyword kw)
source

reverse-refclj

(reverse-ref attr)
source

reverse-ref?clj

(reverse-ref? attr)
source

touch-componentsclj

(touch-components db a->v)
source

touch-entityclj

(touch-entity e)
source

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

× close