Liking cljdoc? Tell your friends :D

common-clj.io.interceptors.postgresql


resource-existence-check-interceptorclj

(resource-existence-check-interceptor resource-identifier-fn sql-query)

Inputs: [resource-identifier-fn sql-query]

resource-identifier-fn -> function used to extract param used to query the resource, must receive a context as argument. sql-query -> datomic query that will try to find the resource using the resource identifier

Inputs: [resource-identifier-fn sql-query]

resource-identifier-fn -> function used to extract param used to query the resource, must receive a context as argument.
sql-query -> datomic query that will try to find the resource using the resource identifier
sourceraw docstring

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

× close