mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Add MSSQL types
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
|
||||
4
src/utils/exportSQL/mssql.js
Normal file
4
src/utils/exportSQL/mssql.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export function toMSSQL(diagram) {
|
||||
diagram.tables;
|
||||
return "hi from mssql";
|
||||
}
|
||||
Reference in New Issue
Block a user