Documentation
    Preparing search index...

    Interface IntegerOptions

    interface IntegerOptions {
        length?: number;
        unsigned?: boolean;
        zerofill?: boolean;
    }

    Hierarchy (View Summary)

    Index
    length?: number

    In MariaDB: When specified, and zerofill is set, the returned value will be padded with zeros to the specified length. In MySQL: This option is ignored. This option is supported in no other dialect. Currently useless for types that are returned as JS BigInts or JS Numbers.

    unsigned?: boolean

    Is unsigned?

    zerofill?: boolean

    Pad the value with zeros to the specified length.

    Currently useless for types that are returned as JS BigInts or JS Numbers.