Skip to content

prasaddpathak/dbeagle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

144 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBeagle logo

DBeagle

SQL exploration in VS Code without leaving your flow.

DBeagle brings querying, result browsing, charting, and connection management directly into VS Code. Connect to your databases, run SQL from the editor, inspect large result sets, and keep working in the same environment where your code and AI tools already live.

Read-only mode is available when you want extra guardrails. Keep it on for safer production access, or turn it off when you need write access.

Why Teams Use DBeagle

  • Stay inside VS Code instead of bouncing to a separate database client
  • Connect to Trino, PostgreSQL, MySQL, SQL Server, and Vertica from one extension
  • Stream large result sets with search, filter, sort, paging, and export
  • Turn query results into built-in charts without leaving the editor
  • Use named $parameters, SQL outline support, and completions to move faster
  • Keep passwords and Trino headers in VS Code SecretStorage

Supported Databases

  • Trino
  • PostgreSQL
  • MySQL
  • Microsoft SQL Server
  • Vertica

What You Can Do

  • Add, test, save, duplicate, and switch database connections
  • Preview tables and browse catalogs and schemas from the connection tree
  • Run SQL from .sql files with Cmd/Ctrl+Enter
  • Stream results into the DBeagle panel or detach them into their own panel
  • Search, filter, sort, and export results to CSV or JSON
  • Build bar, line, pie, and scatter charts from query results
  • Export charts as PNG images
  • Use named $parameters in queries for reusable SQL
  • Keep reusable SQL scratch files outside your repo
  • Navigate faster with SQL outline support and completions

Read-Only Mode

DBeagle can block mutating SQL before it reaches your database. Read-only mode is enabled by default, and you can toggle it from the DBeagle connections view when you need write access.

This makes DBeagle useful in both modes:

  • safer production exploration when guardrails matter
  • faster day-to-day querying when you need flexibility

Quick Start

  1. Install DBeagle from the VS Code Marketplace.
  2. Open the DBeagle view in the Activity Bar.
  3. Select Add Connection, choose a driver, and verify the connection.
  4. Open a SQL file and run DBeagle: Run Query.
  5. Explore the results grid, switch to chart view, or export what you need.

Platforms

The current preview supports:

  • macOS Apple Silicon
  • macOS Intel
  • Linux x64
  • Windows x64

Virtual workspaces are not supported in this preview release.

Built For Speed

DBeagle uses a hybrid architecture so the UI stays responsive even when the data does not:

  • TypeScript handles the VS Code extension experience
  • Rust powers result ingestion, filtering, sorting, chart shaping, and export
  • WebAssembly powers SQL parsing, read-only checks, outline support, and parameter extraction

Development

If you are working on the extension itself:

npm ci
npm run test:baseline

More details:

Support

Need help, want to report a bug, or want to suggest an improvement? See SUPPORT.md.

License

MIT

About

DBeagle is a VS Code extension for SQL exploration that lets you connect to your database without leaving your editor.

Resources

License

Stars

Watchers

Forks

Contributors