prorm API Reference
    Preparing search index...

    Interface IdentityOptions

    Options for

    decorator (PostgreSQL sequences)

    interface IdentityOptions {
        type?: IdentityType;
        start?: number;
        increment?: number;
        cache?: number;
        min?: number;
        max?: number;
        cycle?: boolean;
    }
    Index

    Identity type: ALWAYS or BY DEFAULT

    start?: number

    Starting value

    increment?: number

    Increment value

    cache?: number

    Cache size

    min?: number

    Minimum value

    max?: number

    Maximum value

    cycle?: boolean

    Whether to cycle