prorm API Reference
    Preparing search index...

    Interface DatabaseOptions

    Options for database creation/configuration

    interface DatabaseOptions {
        name: string;
        encoding?: string;
        lcCollate?: string;
        lcCtype?: string;
        template?: string;
        tablespace?: string;
        connectionLimit?: number;
        isTemplate?: boolean;
        collate?: string;
    }
    Index
    name: string

    Database name

    encoding?: string

    Character encoding (e.g., 'UTF8', 'LATIN1')

    lcCollate?: string

    LC_COLLATE setting for string sort order

    lcCtype?: string

    LC_CTYPE setting for character classification

    template?: string

    Template database to use (PostgreSQL)

    tablespace?: string

    Tablespace for the database (PostgreSQL)

    connectionLimit?: number

    Connection pool limit

    isTemplate?: boolean

    If true, database is a template (PostgreSQL)

    collate?: string

    Database collation (MySQL/MariaDB)