(assoc-ident {:connective.entity/keys [ident] :as entity}
{:connective.entity/keys [id-fn] :as schema})
(assoc-reference-attributes-of-relationships
entity
connective
{:connective.entity/keys [entity-schema] :as context})
Takes a context (db, schema) the schema for entity, and the entity and returns the entity with updated attributes in order to propertly relate the entity and it's relationships
Takes a context (db, schema) the schema for entity, and the entity and returns the entity with updated attributes in order to propertly relate the entity and it's relationships
(entity-schema-contains-relationship? {:connective.entity/keys [relationships]
:as schema}
rel-key)
(relation-of-entity-schema {:connective.entity/keys [relationships] :as e}
relationship-key)
(relationship-key-of-reference-relation-of-entity context
entity
{:connective.entity/keys
[ref-attribute]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close