Liking cljdoc? Tell your friends :D

com.fulcrologic.rad.database-adapters.sql.query

This namespace provides query builders for various concerns of a SQL database in a RAD application. The main concerns are:

  • Fetch queries (with joins) coming from resolvers
  • Building custom queries based of off RAD attributes
  • Persisting data based off submitted form deltas
This namespace provides query builders for various concerns of
a SQL database in a RAD application. The main concerns are:

- Fetch queries (with joins) coming from resolvers
- Building custom queries based of off RAD attributes
- Persisting data based off submitted form deltas
raw docstring

base-property-queryclj

(base-property-query env
                     {id-key :com.fulcrologic.rad.attributes/qualified-key
                      :as id-attr}
                     attrs
                     ids)

eql->attrsclj

(eql->attrs {:com.fulcrologic.rad.attributes/keys [key->attribute] :as env}
            schema
            eql)

Find the attributes for the element of the (top-level) EQL query that exist on the given schema. Returns a sequence of attributes.

Find the attributes for the element of the (top-level) EQL query that exist on the given schema.
Returns a sequence of attributes.
raw docstring

eql-query!clj

(eql-query! {:com.fulcrologic.rad.attributes/keys [key->attribute]
             :com.fulcrologic.rad.database-adapters.sql/keys [connection-pools]
             :as env}
            id-attribute
            eql-query
            resolver-input)

qclj

(q v)

RAD-column-readerclj

(RAD-column-reader rs md i)

An example column-reader that still uses .getObject but expands CLOB columns into strings.

An example column-reader that still uses `.getObject` but expands CLOB
columns into strings.
raw docstring

row-builderclj


sql-results->edn-resultsclj

(sql-results->edn-results rows attrs)

to-many-join-column-queryclj

(to-many-join-column-query
  {:com.fulcrologic.rad.attributes/keys [key->attribute] :as env}
  {:com.fulcrologic.rad.attributes/keys [target cardinality identities
                                         qualified-key]
   :as attr}
  ids)

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

× close