typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
33 lines (32 loc) • 979 B
TypeScript
import { BaseConnectionOptions } from "../../connection/BaseConnectionOptions";
import { OracleConnectionCredentialsOptions } from "./OracleConnectionCredentialsOptions";
/**
* Oracle-specific connection options.
*/
export interface OracleConnectionOptions extends BaseConnectionOptions, OracleConnectionCredentialsOptions {
/**
* Database type.
*/
readonly type: "oracle";
/**
* Schema name. By default is "public".
*/
readonly schema?: string;
/**
* A boolean determining whether to pass time values in UTC or local time. (default: true).
*/
readonly useUTC?: boolean;
/**
* Replication setup.
*/
readonly replication?: {
/**
* Master server used by orm to perform writes.
*/
readonly master: OracleConnectionCredentialsOptions;
/**
* List of read-from severs (slaves).
*/
readonly slaves: OracleConnectionCredentialsOptions[];
};
}