Liking cljdoc? Tell your friends :D
Clojure only.

wagoe.devtools.shell.dashboard.pages.overview


adapter-labelclj

(adapter-label a)

A readable name for the database adapter — "PostgreSQL", not its class.

On a running system (:adapter db-ctx) is the adapter record rather than a keyword, so the non-keyword branch is the normal path and not the fallback it looks like. (str (type x)) there put class wagoe.platform.shell.adapters.database.postgresql.core.PostgreSQLAdapter on the dashboard, three lines of it (BOU-396).

The record is named after the database it speaks to, so its simple name without the Adapter suffix is the answer.

A readable name for the database adapter — "PostgreSQL", not its class.

On a running system `(:adapter db-ctx)` is the adapter record rather than a
keyword, so the non-keyword branch is the normal path and not the fallback
it looks like. `(str (type x))` there put
`class wagoe.platform.shell.adapters.database.postgresql.core.PostgreSQLAdapter`
on the dashboard, three lines of it (BOU-396).

The record is named after the database it speaks to, so its simple name
without the `Adapter` suffix is the answer.
sourceraw docstring

renderclj

(render opts)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close