Tidy and remove unused fields

This commit is contained in:
Rory Powell 2021-11-09 17:52:26 +00:00
parent d786aaf81c
commit b2cdf00d7e
1 changed files with 3 additions and 2 deletions

View File

@ -9,9 +9,11 @@ import { getSqlQuery } from "./utils"
import oracledb, { ExecuteOptions, Result } from "oracledb" import oracledb, { ExecuteOptions, Result } from "oracledb"
import { Connection, ConnectionAttributes } from "oracledb" import { Connection, ConnectionAttributes } from "oracledb"
import Sql from "./base/sql" import Sql from "./base/sql"
module OracleModule { module OracleModule {
oracledb.outFormat = oracledb.OUT_FORMAT_OBJECT; oracledb.outFormat = oracledb.OUT_FORMAT_OBJECT;
interface OracleConfig { interface OracleConfig {
host: string host: string
port: number port: number
@ -64,9 +66,8 @@ module OracleModule {
}, },
} }
class OracleIntegration extends Sql { class OracleIntegration extends Sql {
private readonly config: OracleConfig private readonly config: OracleConfig
public tables: Record<string, Table> = {}
public schemaErrors: Record<string, string> = {}
constructor(config: OracleConfig) { constructor(config: OracleConfig) {
super("oracle") super("oracle")