Documentation
¶
Overview ¶
Package dbmode wires the live-database mode into the UI: the mysql / postgres / redis subcommands start an empty workspace with a connection form overlay on top, then browse schemas, tables and keys through the shared overlay system.
Index ¶
Constants ¶
View Source
const ( KindMysql = "mysql" KindPostgres = "postgres" KindRedis = "redis" KindOpenObserve = "openobserve" )
Engine kinds accepted by Run.
Variables ¶
This section is empty.
Functions ¶
func RegisterFactories ¶
func RegisterFactories(kind string)
RegisterFactories installs the database-mode overlay factories:
- "opentable": load one live table into a new tab (ns "\t" table arg, matching the schema browser's dispatch encoding),
- "connect": reopen the connection form for the current kind,
- redis only: "query" and "schema" are wrapped so that, with a live key-value connection, they open the raw-command prompt and the key browser instead; without one they delegate to the originals.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.