typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
35 lines (34 loc) • 716 B
TypeScript
import { TlsOptions } from "tls";
/**
* Cockroachdb specific connection credential options.
*/
export interface CockroachConnectionCredentialsOptions {
/**
* Connection url where the connection is performed.
*/
readonly url?: string;
/**
* Database host.
*/
readonly host?: string;
/**
* Database host port.
*/
readonly port?: number;
/**
* Database username.
*/
readonly username?: string;
/**
* Database password.
*/
readonly password?: string;
/**
* Database name to connect to.
*/
readonly database?: string;
/**
* Object with ssl parameters
*/
readonly ssl?: boolean | TlsOptions;
}