Tidy and remove unused fields
This commit is contained in:
parent
d786aaf81c
commit
b2cdf00d7e
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue