(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |