prorm API Reference
    Preparing search index...

    Interface StorageOptions

    Options for

    decorator

    interface StorageOptions {
        engine?: StorageEngine;
        rowFormat?: RowFormat;
        encryption?: string | boolean;
        comment?: string;
        avgRowLength?: number;
        maxRows?: number;
        minRows?: number;
        password?: string;
        tablespace?: string;
    }
    Index
    engine?: StorageEngine

    Storage engine to use (MySQL/MariaDB) Default: 'InnoDB'

    rowFormat?: RowFormat

    Row format for the table Default: 'DYNAMIC' for InnoDB

    encryption?: string | boolean

    Encryption for the table (MySQL 8.0+)

    comment?: string

    Table comment

    avgRowLength?: number

    Average row length estimate

    maxRows?: number

    Maximum number of rows

    minRows?: number

    Minimum number of rows

    password?: string

    Table password

    tablespace?: string

    Tablespace name (MySQL)