Skip to content

DB Plugin

Help query: "What does the db plugin do?" / "How do I use db in Volt?"

The db plugin turns Volt into a lightweight database workbench: connect to databases, browse schema, run SQL in query buffers, keep history/snippets, and use a multi-pane dashboard.

Package namedb
Moduleuser/db.rs

What it does

  • Connect and disconnect database sessions
  • Browse tables/schema and refresh metadata
  • Open SQL query buffers and execute statements
  • Manage connection history, snippets, and a dashboard multiview

Commands

CommandDescription
db.connectStarts a database connection flow.
db.disconnectDisconnects the active database session.
db.show-tablesShows tables for the active connection.
db.new-query-bufferOpens a new SQL query buffer.
db.execute-sqlExecutes SQL from the query buffer.
db.show-connectionsShows saved/active connections.
db.show-historyShows query history.
db.show-snippetsShows SQL snippets.
db.save-snippetSaves the current query as a snippet.
db.refresh-schemaRefreshes schema metadata.
db.dashboardOpens the DB dashboard.
db.multiviewOpens the DB multiview layout.
db.switch-paneSwitches focus between DB panes.

Keybindings

ChordCommandScope
Ctrl+c Ctrl+cdb.execute-sqlQuery / dashboard buffers
Ctrl+sdb.save-snippetQuery buffers
Ctrl+Tabdb.switch-paneDB panes
Enterdb.activate-line / db.submit-connectBrowsers / connect popup

Notes

Buffer names follow *db-* patterns (query, schema, history, snippets, results, dashboard).

Volt — modal editor platform · docs optimized for in-editor help search