Revert odbc support (#1936)

* Revert "Patch ODBC support from missing binary/headers for node-odbc"

This reverts commit 9de6b1cc26.

* Revert "OBDC Support (#1933)"

This reverts commit cd597a361e.
This commit is contained in:
Timothy Carambat
2024-07-23 17:27:39 -07:00
committed by GitHub
parent 01448db491
commit 23de85a3bd
9 changed files with 7 additions and 117 deletions

View File

@@ -2,7 +2,7 @@ const { SystemSettings } = require("../../../../../../models/systemSettings");
const { safeJsonParse } = require("../../../../../http");
/**
* @typedef {('postgresql'|'mysql'|'sql-server'|'odbc')} SQLEngine
* @typedef {('postgresql'|'mysql'|'sql-server')} SQLEngine
*/
/**
@@ -36,9 +36,6 @@ function getDBClient(identifier = "", connectionConfig = {}) {
case "sql-server":
const { MSSQLConnector } = require("./MSSQL");
return new MSSQLConnector(connectionConfig);
case "odbc":
const { ODBCConnector } = require("./ODBC");
return new ODBCConnector(connectionConfig);
default:
throw new Error(
`There is no supported database connector for ${identifier}`