typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
40 lines (39 loc) • 840 B
TypeScript
/**
* MySQL specific connection credential options.
*
* @see https://github.com/mysqljs/mysql#connection-options
*/
export interface MysqlConnectionCredentialsOptions {
/**
* 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 or a string containing name of ssl profile.
*/
readonly ssl?: any;
/**
* Database socket path
*/
readonly socketPath?: string;
}