Liking cljdoc? Tell your friends :D

keechma.toolbox.dataloader.core


cache-datasource-response!

(cache-datasource-response! app-db-atom datasource value)
source

cache-key

(cache-key datasource params)
source

call-loader

(call-loader loader pending-datasources context)
source

clear-cache-for-datasource!

(clear-cache-for-datasource! app-db-atom datasource)
source

clear-cache-for-invalidated-datasources!

(clear-cache-for-invalidated-datasources! app-db-atom
                                          invalid-datasources)
source

datasource-params

(datasource-params datasources
                   datasource-key
                   datasource
                   app-db
                   edb-schema)
source

datasources->loaders

(datasources->loaders app-datasources
                      datasources
                      invalid-datasources
                      app-db
                      results-chan
                      edb-schema)
source

datasources-load-plan

(datasources-load-plan app-db
                       datasources
                       datasources-order
                       edb-schema
                       invalid-datasources)
source

default-loader

(default-loader reqs)
source

deps-fulfilled?

(deps-fulfilled? app-db datasources-plan datasource)
source

EntityDBWithRelations

source

fulfilled-loader

(fulfilled-loader reqs)
source

get-data

(get-data app-db edb-schema {:keys [target], :as datasource})
source

get-edb-collection

(get-edb-collection app-db edb-schema {:keys [target]})
source

get-edb-named-item

(get-edb-named-item app-db edb-schema {:keys [target]})
source

get-kv-data

(get-kv-data app-db {:keys [target], :as datasource})
source

get-meta

(get-meta app-db datasource-key)
source

get-meta-and-data

(get-meta-and-data app-db edb-schema datasource-key datasource)
source

has-pending-datasources?

(has-pending-datasources? app-db)
source

id-key

source

insert-relations

(insert-relations edb-schema edb relations)
source

make-dataloader

(make-dataloader datasources)
(make-dataloader datasources edb-schema)
source

mark-dependent-errors!

(mark-dependent-errors! app-db
                        app-datasources
                        datasources
                        edb-schema
                        payload)
source

mark-pending!

(mark-pending! app-db-atom edb-schema datasources)
source

remove-pending-datasource

(remove-pending-datasource app-db datasource-key)
source

request-cache

source

save-data

(save-data app-db edb-schema {:keys [target], :as datasource} data)
source

save-edb-collection

(save-edb-collection app-db
                     edb-schema
                     {:keys [target], :as datasource}
                     data)
source

save-edb-named-item

(save-edb-named-item app-db
                     edb-schema
                     {:keys [target], :as datasource}
                     data)
source

save-kv-data

(save-kv-data app-db {:keys [target], :as datasource} data)
source

save-meta

(save-meta app-db datasource-key meta)
source

start-dependent-loaders!

(start-dependent-loaders! app-db-atom
                          app-datasources
                          datasources
                          invalid-datasources
                          results-chan
                          edb-schema
                          context)
source

start-loaders!

(start-loaders! app-db-atom
                app-datasources
                datasources
                invalid-datasources
                results-chan
                edb-schema
                context)
source

store-datasource!

(store-datasource! app-db-atom edb-schema payload)
source

store-datasource-error!

(store-datasource-error! app-db edb-schema payload)
source

target->edb

(target->edb target)
source

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

× close