Liking cljdoc? Tell your friends :D

wanderung.datom


datom-add?clj

(datom-add? [_ _ _ _ add?])
source

datom-attributeclj

(datom-attribute [_ a _ _ _])
source

datom-eidclj

(datom-eid [eid _ _ _ _])
source

datom-tidclj

(datom-tid [_ _ _ tid _])
source

datom-valueclj

(datom-value [_ _ v _ _])
source

datoms->entity-attribute-mapclj

(datoms->entity-attribute-map datoms)

Given a list of datoms, create a map of all entities and their attributes after all list-forms have been applied.

This implementation is only an approximation but good enough for figuring out which entities are part of the schema and used to define attributes whose values should be entity references.

Given a list of datoms, create a map of all entities and their attributes after all list-forms have been applied. 

This implementation is only an approximation but good enough for figuring out which entities are part of the schema and used to define attributes whose values should be entity references.
sourceraw docstring

datoms->entity-transaction-mapclj

(datoms->entity-transaction-map datoms)

Build a map from every entity id to the first transaction id where it occurs

Build a map from every entity id to the first transaction id where it occurs
sourceraw docstring

ref-attrib-setclj

(ref-attrib-set entity-attribute-map)

Given an entity-attribute-map, get the set of attributes whose values are refs to other entities according to the schema

Given an entity-attribute-map, get the set of attributes whose values are refs to other entities according to the schema
sourceraw docstring

similar-datoms?clj

(similar-datoms? datoms-a datoms-b)

Returns true if two sequences of datoms represent the same database. It generally returns false if they don't represent the same database, but can in rare cases return true. This function can nevertheless be used for sanity checking in order to detect common errors.

Returns true if two sequences of datoms represent the same database. It generally returns false if they don't represent the same database, but can in rare cases return true. This function can nevertheless be used for sanity checking in order to detect common errors.
sourceraw docstring

transaction-groupsclj

(transaction-groups datoms)

Return a sequence of sequences of datoms with common transaction id

Return a sequence of sequences of datoms with common transaction id
sourceraw docstring

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

× close