Liking cljdoc? Tell your friends :D

keechma.entitydb.core


assoc-entitydb-idcljs

(assoc-entitydb-id get-id item)
source

def-adapted-apicljmacro

(def-adapted-api path)

Defines entitydb api functions in the current namespace. Adapts each to expect the store argument to be a map that embeds an entity-db at key-path path.

Defines `entitydb` api functions in the current namespace. Adapts
each to expect the `store` argument to be a map that embeds an
`entity-db` at key-path `path`.
sourceraw docstring

edb-fnclj

(edb-fn fn-sym)
source

edb-fnsclj

source

entitydb-named->entity-idents-setcljs

(entitydb-named->entity-idents-set store)
source

entitydb-store->entity-idents-setcljs

(entitydb-store->entity-idents-set store)
source

get-collectioncljs

(get-collection store collection-name)
(get-collection store collection-name query)
source

get-entities-from-identscljs

(get-entities-from-idents store entity-idents)
(get-entities-from-idents store entity-idents query)
source

get-entitycljs

source

get-entity-from-identcljs

(get-entity-from-ident store entity-ident)
(get-entity-from-ident store entity-ident query)
source

get-entity-idents-to-removecljs

(get-entity-idents-to-remove entity-idents-to-remove relations ref-idents)
source

get-entity-typecljs

(get-entity-type entity-type entity)
source

get-ident-for-namedcljs

(get-ident-for-named store entity-name)
source

get-idents-for-collectioncljs

(get-idents-for-collection store collection-name)
source

get-namedcljs

(get-named store entity-name)
(get-named store entity-name query)
source

get-relation-entity-typecljs

(get-relation-entity-type relation entity)
source

get-reportcljs

(get-report reverse-relations)
source

insert*cljs

(insert* store entity-type data)
source

insert-collectioncljs

(insert-collection store entity-type collection-name data)
(insert-collection store entity-type collection-name data collection-meta)
source

insert-entitiescljs

(insert-entities store entity-type entities)
source

insert-entitycljs

(insert-entity store entity-type data)
source

insert-namedcljs

(insert-named store entity-type entity-name data)
(insert-named store entity-type entity-name data named-meta)
source

insert-preparedcljs

(insert-prepared store prepared)
(insert-prepared store {:keys [entity related-entities]} parent-entity-ident)
source

insert-schemacljs

(insert-schema store schema)
(insert-schema store schema opts)
source

mutation-defnclj

(mutation-defn path fn-sym)
source

prepare-insertcljs

(prepare-insert store entity-type entity)
(prepare-insert store entity-type entity related-entities)
source

prepare-relationscljs

(prepare-relations store
                   current
                   related-entities
                   relation
                   {:keys [iter-path path ident relation-name] :as cursor})
source

prepare-schemacljs

(prepare-schema schema)
source

prepare-type-schema-processorcljs

(prepare-type-schema-processor type-schema _)
source

prepare-type-schema-relationscljs

(prepare-type-schema-relations type-schema entitydb-type)
source

query-defnclj

(query-defn path fn-sym)
source

remove-by-id*cljs

(remove-by-id* store entity-type id)
source

remove-collectioncljs

(remove-collection store collection-name)
source

remove-dangling-reverse-relationscljs

(remove-dangling-reverse-relations store entity-type id)
source

remove-entitycljs

(remove-entity store entity-type id)
source

remove-ident-from-collectionscljs

(remove-ident-from-collections store entity-ident)

Return store with entity-ident cleared from collections. Will return empty collection if entity-ident was the only element in collection.

Return store with entity-ident cleared from collections.
Will return empty collection if entity-ident was the only element in collection.
sourceraw docstring

remove-ident-from-named-itemscljs

(remove-ident-from-named-items store entity-ident)

Return store without named-items that contain passed entity-ident.

Return store without named-items that contain passed entity-ident.
sourceraw docstring

remove-invalid-relationscljs

(remove-invalid-relations store entity)
source

remove-namedcljs

(remove-named store entity-name)
source

vacuumcljs

(vacuum store)
source

valid-entity-id?cljs

(valid-entity-id? {:entitydb/keys [id]})
source

valid-entity-type?cljs

(valid-entity-type? store {:entitydb/keys [type]})
source

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

× close