prorm API Reference
    Preparing search index...

    Interface GeneratedAlwaysOptions

    Options for

    decorator (PostgreSQL 12+)

    interface GeneratedAlwaysOptions {
        as: string;
        stored?: boolean;
        type?: string;
    }
    Index
    as: string

    SQL expression for generated column

    stored?: boolean

    Whether column is stored (vs virtual)

    type?: string

    Column type (required for stored generated columns)