Skip to content

Commit

Permalink
Update configuration typings to allow for oracle db connectionstring (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
evansimonross authored and kibertoad committed Jul 22, 2019
1 parent 3e1a5ee commit ec6091e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions types/index.d.ts
Expand Up @@ -1596,6 +1596,7 @@ declare namespace Knex {
| MariaSqlConnectionConfig
| MySqlConnectionConfig
| MsSqlConnectionConfig
| OracleDbConnectionConfig
| Sqlite3ConnectionConfig
| SocketConnectionConfig;
pool?: PoolConfig;
Expand Down Expand Up @@ -1722,6 +1723,18 @@ declare namespace Knex {
ssl?: string | MariaSslConfiguration;
decimalNumbers?: boolean;
}

interface OracleDbConnectionConfig {
host: string;
user: string;
password?: string;
database?: string;
domain?: string;
instanceName?: string;
debug?: boolean;
requestTimeout?: number;
connectString?: string;
}

/** Used with SQLite3 adapter */
interface Sqlite3ConnectionConfig {
Expand Down

0 comments on commit ec6091e

Please sign in to comment.