Liking cljdoc? Tell your friends :D

pdenno.owl-db-tools.resolvers

Pathom3 resolvers to make accessing the DB easy.

Pathom3 resolvers to make accessing the DB easy.
raw docstring

attr-fnclj

(attr-fn attr resolve?)

Return a function for the argument. the dp/pull returns wrapped in the output Pathom requires.

Return a function for the argument.
the dp/pull returns wrapped in the output Pathom requires.
raw docstring

attr-infoclj

(attr-info conn)

Return a vector of maps containing :attr/id and :attr/type for every attribute in the DB.

Return a vector of maps containing :attr/id and :attr/type
for every attribute in the DB.
raw docstring

attr-typesclj

(attr-types conn)

Return map of two sets (with the following two keys):

  • :resource? : DB attributes that appear directly in resources.
  • :experssion? : DB attributes that do not appear directly in resources.
Return map of two sets (with the following two keys):
- :resource? :  DB attributes that appear directly in resources.
- :experssion? : DB attributes that do not appear directly in resources.
raw docstring

make-resolverclj

(make-resolver sym {:keys [input output fn]})

make-resource-attr-resolversclj

(make-resource-attr-resolvers conn)

Return a vector of resolvers for rdf resource attributes.

Return a vector of resolvers for rdf resource attributes.
raw docstring

other-resolversclj

a vector of pre-defined resolvers for accessing the OWL DB.

a vector of pre-defined resolvers for accessing the OWL DB.
raw docstring

pull-resourceclj

(pull-resource resource-id conn & {:keys [keep-db-ids? sort?] :or {sort? true}})

Return the nicely sorted sorted-map of a resource; it's like pretty printing.

Return the nicely sorted sorted-map of a resource; it's like pretty printing.
raw docstring

register-resolvers!clj

(register-resolvers! conn)

Alter the value of the var index to refer to the automatically-generated Pathom resovlers, plus others defined in this namespace. (See the var other-resolvers).

Alter the value of the var index to refer to the automatically-generated
Pathom resovlers, plus others defined in this namespace. (See the var other-resolvers).
raw docstring

resource-by-uriclj

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

× close