prorm API Reference
    Preparing search index...

    Interface HStoreDecoratorOptions

    Options for HStore column type

    interface HStoreDecoratorOptions {
        useNative?: boolean;
        allowNull?: boolean;
        defaultValue?: Record<string, any>;
        comment?: string;
        field?: string;
    }
    Index
    useNative?: boolean

    Whether to use native HStore or JSONB fallback

    allowNull?: boolean

    Whether the column allows null

    defaultValue?: Record<string, any>

    Default value for the column

    comment?: string

    Comment for the column

    field?: string

    Custom column name in the database