geopackage-ts
    Preparing search index...

    Interface DataColumnConstraint

    Represents a row in the gpkg_data_column_constraints table.

    Constraints can be of type 'enum', 'range', or 'glob' and define valid values or value ranges for data columns.

    interface DataColumnConstraint {
        constraint_name: string;
        constraint_type: string;
        description: string | null;
        max: number | null;
        max_is_inclusive: boolean | null;
        min: number | null;
        min_is_inclusive: boolean | null;
        value: string | null;
    }
    Index

    Properties

    constraint_name: string

    The constraint name, matching the constraint_name in DataColumn.

    constraint_type: string

    The constraint type: 'enum', 'range', or 'glob'.

    description: string | null

    A human-readable description of this constraint entry, or null if not specified.

    max: number | null

    The maximum value for a 'range' constraint, or null for other types.

    max_is_inclusive: boolean | null

    Whether the maximum value is inclusive (true) or exclusive (false). null if not a range constraint.

    min: number | null

    The minimum value for a 'range' constraint, or null for other types.

    min_is_inclusive: boolean | null

    Whether the minimum value is inclusive (true) or exclusive (false). null if not a range constraint.

    value: string | null

    The allowed value for an 'enum' constraint, or a glob pattern for 'glob'. null for 'range' constraints.