alapa
Version:
A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.
35 lines (34 loc) • 647 B
TypeScript
import { TlsOptions } from "tls";
/**
* Cockroachdb specific connection credential options.
*/
export interface CockroachConnectionCredentialsOptions {
/**
* Connection url where perform connection to.
*/
url?: string;
/**
* Database host.
*/
host?: string;
/**
* Database host port.
*/
port?: number;
/**
* Database username.
*/
username?: string;
/**
* Database password.
*/
password?: string;
/**
* Database name to connect to.
*/
database?: string;
/**
* Object with ssl parameters
*/
ssl?: boolean | TlsOptions;
}