prorm API Reference
    Preparing search index...

    Interface RangeDecoratorOptions

    Options for Range column type

    interface RangeDecoratorOptions {
        subtype: RangeSubtype;
        allowNull?: boolean;
        defaultValue?: [any, any];
        comment?: string;
        field?: string;
    }
    Index
    subtype: RangeSubtype

    The range subtype

    allowNull?: boolean

    Whether the column allows null

    defaultValue?: [any, any]

    Default value for the column

    comment?: string

    Comment for the column

    field?: string

    Custom column name in the database