Skip to content

feat: Add support for ClickHouse, LibSQL, Turso, ScyllaDB, Cassandra, MSSQL & Azure SQL - #51

Merged
abeni16 merged 2 commits into
mainfrom
feat/add-new-database-engines
Sep 7, 2026
Merged

abeni16 merged 2 commits into
mainfrom
feat/add-new-database-engines

Conversation

@abeni16

@abeni16 abeni16 commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR adds first-class support for 7 new database engines across VeloxDB (Rust backend + TypeScript/React frontend):

  • ClickHouse (HTTP analytical column-store via FORMAT JSON)
  • LibSQL (hybrid local SQLite + remote /v2/pipeline HTTP protocol with Bearer token authentication)
  • Turso (managed cloud SQLite database via Turso pipeline)
  • ScyllaDB (high-throughput NoSQL CQL database via scylla::Session)
  • Apache Cassandra (distributed NoSQL CQL database)
  • Microsoft SQL Server (enterprise T-SQL via tiberius TDS driver + tokio-rustls)
  • Azure SQL (cloud-hosted Microsoft SQL Server via TDS)

In addition:

  • Migrated query editor from Monaco to CodeMirror 6 with native SQL dialects (MSSQL, Cassandra, SQLite, StandardSQL, PostgreSQL, MySQL) and schema-aware autocomplete.
  • Set Connection String mode as the default in the connection dialog with real-time engine auto-detection.
  • Compacted the engine selector cards and icons for a cleaner, modern presentation.
  • Extended connection URI parsing and serialization for all 7 engines.
  • Ensured zero breaking changes to existing saved connections (PostgreSQL, MySQL, SQLite, MongoDB, DuckDB, Redis).

Verification

  • Rust Backend: All 148 unit and integration tests passed (cargo test).
  • Frontend Test Suite: All 85 Vitest tests passed (pnpm test).
  • Production Build: pnpm build (tsc -b && vite build) built cleanly with zero errors.
  • Runtime Application: Verified live via pnpm tauri dev.

- Add backend drivers & engine implementations for:
  - ClickHouse (HTTP JSON protocol)
  - LibSQL & Turso (local SQLite + remote /v2/pipeline HTTP protocol with Bearer auth)
  - Apache Cassandra & ScyllaDB (CQL driver via scylla::Session)
  - Microsoft SQL Server & Azure SQL (TDS driver via tiberius + tokio-rustls)
- Update connection pool caching, health checks, schema/table introspection, and export
- Add frontend forms, validation, and branded SVG icons for all 7 engines
- Set connection string mode as default in ConnectionDialog with auto-detection badges
- Compact engine selector cards and icons for cleaner dialog presentation
- Migrate query editor from Monaco to CodeMirror with native SQL dialects (MSSQL, Cassandra, SQLite, StandardSQL, PostgreSQL, MySQL) and intelligent autocompletions
- Add unit and integration tests across both Rust backend (148 tests) and frontend (85 tests)
@abeni16
abeni16 merged commit 96e7a4c into main Sep 7, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant