(-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:
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
(-lookup-eid db eid)
Given db and entity-id, returns the datoms in the database that match the following conditions:
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.
(-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:
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 _ _]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close