prorm API Reference
    Preparing search index...

    Interface ArrayOptions

    Array column options for PostgreSQL array types

    interface ArrayOptions {
        type: DataType;
        allowNull?: boolean;
        defaultValue?: any;
        comment?: string;
        field?: string;
    }
    Index
    type: DataType

    The data type of array elements

    allowNull?: boolean

    Whether the array can be null

    defaultValue?: any

    Default value for the array column

    comment?: string

    Comment for the column

    field?: string

    Custom column name in the database