feat: add DM (Dameng) database support via ODBC

Connect to DM8 databases using the odbc-api crate with unixODBC.
Includes schema browsing, query execution, DDL generation,
and full frontend integration with download link to DM ODBC driver.
This commit is contained in:
t8y2
2026-05-07 01:02:56 +08:00
parent 02813f4b9e
commit 4bf4f3b77f
24 changed files with 1111 additions and 122 deletions
+2 -1
View File
@@ -76,7 +76,8 @@ async function resolveSchema(connectionId: string, database: string): Promise<st
config?.db_type === "postgres" ||
config?.db_type === "sqlserver" ||
config?.db_type === "oracle" ||
config?.db_type === "redshift";
config?.db_type === "redshift" ||
config?.db_type === "dameng";
if (needsSchema) {
const schemas = await api.listSchemas(connectionId, database);
return schemas.includes("public") ? "public" : (schemas[0] ?? "");