Conversation
Co-authored-by: nik2208 <28157038+nik2208@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Evaluate feasibility of extracting library for multiple databases
Add multi-database adapter support (MySQL, PostgreSQL, SQLite)
Feb 24, 2026
…r docs Co-authored-by: nik2208 <28157038+nik2208@users.noreply.github.com>
Copilot
AI
changed the title
Add multi-database adapter support (MySQL, PostgreSQL, SQLite)
Add multi-database adapter support (MySQL, PostgreSQL, SQLite) + update README and screenshots
Feb 25, 2026
nik2208
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the library beyond SQLite to support MySQL/MariaDB and PostgreSQL via a pluggable adapter layer. Schema introspection is automatic (via
information_schema/PRAGMA) — no manual table mapping required. All existing SQLite APIs are preserved unchanged.Adapter architecture
IDatabaseAdapter— common interface; definesquoteIdentifier()for dialect-aware quoting plus all CRUD/introspection operationsSqliteAdapter— thin wrapper around the existingdatabaseFunctionsmodule; zero behaviour changeMysqlAdapter—mysql2/promisepool; reflects viainformation_schema.TABLES/COLUMNS/KEY_COLUMN_USAGEPostgresAdapter—pgPool; reflects viainformation_schema.tables/columns/table_constraintsmysql2andpgadded asoptionalDependenciesNew entry point
Legacy
SqliteGuiNode/SqliteGuiNodeMiddleware/createSqliteGuiAppare kept and internally wrapDatabaseinSqliteAdapter.SQL generator refactor
generateInsertSQLnow acceptsIDatabaseAdapterinstead of rawdb: anygenerateUpdateSQL/generateCreateTableSQLaccept an optionalquoterfunction (default: identity — no quoting), which also fixes 2 pre-existing test failures caused by hardcoded backtick quoting in expected stringsREADME + screenshots
Updated to reflect the redesigned UI and multi-db support — new sections for MySQL/PostgreSQL usage, updated Arguments table, and 4 fresh screenshots of the current dark-sidebar layout.
Screenshots
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.