Interface DatabaseConfig

interface DatabaseConfig {
    type: DatabaseType;
    host?: string;
    port?: number;
    database: string;
    username?: string;
    password?: string;
    ssl?: boolean;
    pool?: {
        min: number;
        max: number;
        idle: number;
    };
}

Properties

host?: string
port?: number
database: string
username?: string
password?: string
ssl?: boolean
pool?: {
    min: number;
    max: number;
    idle: number;
}

Type declaration

  • min: number
  • max: number
  • idle: number