(adapter dbmd)
(build-columns
{{:keys [predicates column-types]} :dbadapter :keys [include-raw?] :as dbmd}
table-name
table-cols)
(database-product-name metadata)
(datafy-result-set rs)
(get-columns {:keys [metadata dbadapter catalog]} & [table-name])
(get-foreign-keys {:keys [metadata dbadapter catalog]} & [table-name])
(get-index-info {:keys [metadata dbadapter catalog]} & [table-name])
(get-primary-keys {:keys [metadata dbadapter catalog]} & [table-name])
(get-tables {:keys [metadata dbadapter catalog]})
(prep conn & [adapter-opts])
returns metadata needed to construct xray
returns metadata needed to construct xray
(xray conn & [adapter-opts])
Given a JDBC connection, produce metadata for a database. Includes raw metadata for columns.
use :include-raw? true
in adapter-opts
to include raw metadata
Given a JDBC connection, produce metadata for a database. Includes raw metadata for columns. use `:include-raw? true` in `adapter-opts` to include raw metadata
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close