Add MSSQL types

This commit is contained in:
1ilit
2024-07-04 19:42:11 +03:00
parent d7025e1ff1
commit d00c21b2e3
5 changed files with 392 additions and 38 deletions

View File

@@ -1,5 +1,6 @@
import { DB } from "../../data/constants";
import { toMariaDB } from "./mariadb";
import { toMSSQL } from "./mssql";
import { toMySQL } from "./mysql";
import { toPostgres } from "./postgres";
import { toSqlite } from "./sqlite";
@@ -15,7 +16,7 @@ export function exportSQL(diagram) {
case DB.MARIADB:
return toMariaDB(diagram);
case DB.MSSQL:
return "hi from mssql";
return toMSSQL(diagram);
default:
return "";
}

View File

@@ -0,0 +1,4 @@
export function toMSSQL(diagram) {
diagram.tables;
return "hi from mssql";
}