Database Client
Connect to ten database engines and AWS, Azure and Google Cloud databases, browse and edit data, and run queries.
On this page 5 sections
Every engine, its connection string and what it supports: Database client for VS Code. Every option in depth: the full Database Client reference on GitHub.
- Run DevSnip Pro: Database Client, or open it from the Database section of the sidebar.
- Click + in the Connections panel.
- Either fill in the Form (type, host, port, user, password, database, TLS) or switch to Connection string and paste a URL —
DATABASE_URL=…lines andjdbc:URLs are accepted. - Press Test connection to see the server version and round-trip time.
- Press Save & connect. The password is stored in your OS keychain.
| Database | Connection string |
|---|---|
| PostgreSQL | postgresql:/ |
| CockroachDB | cockroachdb:/ |
| MySQL | mysql:/ |
| MariaDB | mariadb:/ |
| SQL Server | Server=localhost,1433;Database=app;User Id=sa;Password=secret;Encrypt=false |
| Oracle | oracle:/ |
| SQLite | sqlite:/ (or Browse…) |
| ClickHouse | clickhouse:/ |
| MongoDB | mongodb:/ or mongodb+srv:/ |
| Redis / Valkey | redis:/ or rediss:/ |
Pick AWS, Azure or Google Cloud in the connection form to get each service’s port, TLS default and endpoint hint. Amazon RDS and Aurora, Azure SQL Database, Azure Database for PostgreSQL and MySQL, Cloud SQL and AlloyDB connect through the matching engine above; the Cosmos DB MongoDB API connects as MongoDB.
| Service | Connection string | Console |
|---|---|---|
| Amazon Redshift | redshift:/ | SQL |
| Amazon DynamoDB | dynamodb:/ or ?profile=dev | PartiQL |
| Azure Cosmos DB | AccountEndpoint=https:/ | SQL queries |
| Cloud Spanner | spanner:/ | GoogleSQL |
| Firestore | firestore:/ | SQL-like queries |
| BigQuery | bigquery:/ | GoogleSQL |
- Sign in with passwords and keys, IAM database authentication (RDS, Aurora, Cloud SQL), Microsoft Entra ID through
az login, AWS profiles from~/, gcloud Application Default Credentials or a service account key. Pasted keys go to your OS keychain.. aws - Emulators: point a connection at DynamoDB Local or the Spanner, Firestore, BigQuery or Cosmos DB emulator with an endpoint.
- Cloud fields are checked before connecting, with warnings for common mistakes such as an Aurora reader endpoint or Azure SQL without encryption.
- Expand a connection to see its schemas, tables, views, collections or keys.
- The data grid pages, sorts, searches and filters — including MongoDB filters like
{ age: { $gt: 21 } }and Redis patterns likeuser:*. - Edit rows with the type-aware editor (NULL, DEFAULT), MongoDB documents as Extended JSON (
ObjectId(),ISODate()), and every Redis type with TTLs. - Structure shows columns with types, keys and defaults, plus the table’s indexes.
- Large tables stay fast: only visible rows are drawn, totals are counted once per filter, and tables of a million rows or more show the database’s estimate with Count rows for the exact number.
- Open a query tab: SQL, T-SQL, PL/SQL, mongosh-style or Redis commands depending on the engine.
- Press Ctrl/Cmd+Enter to run the selection (or the whole editor). Format tidies the query.
- Errors are underlined where the server found them. A long query can be cancelled on the server; SQLite runs on a worker thread and MySQL, MariaDB and SQLite queries stop after 30 seconds.
- Sort and filter results, then copy them as JSON or CSV.
Mark a connection Read-only to refuse every write. Destructive statements always ask first, and dropping a table asks you to type its name.