(adapter dbmd)
(build-columns {{:keys [predicates column-types]} :dbadapter :as dbmd}
table-name
table-cols)
(database-product-name metadata)
(datafy-result-set rs)
(get-columns {:keys [metadata dbadapter]} & [table-name])
(get-foreign-keys {:keys [metadata dbadapter]} & [table-name])
(get-index-info {:keys [metadata dbadapter]} & [table-name])
(get-primary-keys {:keys [metadata dbadapter]} & [table-name])
(get-tables {:keys [metadata dbadapter]})
(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. Uses ordered-maps to preserve column ordering and to order table names by a topological sort of their foreign key dependencies.
Given a JDBC connection, produce metadata for a database. Uses ordered-maps to preserve column ordering and to order table names by a topological sort of their foreign key dependencies.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close