prorm API Reference
    Preparing search index...

    Interface DatabaseSettingOptions

    Options for

    decorator

    interface DatabaseSettingOptions {
        name: string;
        value: DatabaseSettingValue;
        scope?: "global" | "session";
        description?: string;
    }
    Index
    name: string

    The setting name Examples: 'unique_checks', 'autocommit', 'sql_mode', 'foreign_key_checks'

    The value to set

    scope?: "global" | "session"

    Whether this setting should be applied per-session or globally Default: 'session'

    description?: string

    Optional description for documentation