Contains data to specify restrictions on basic data type column values

Hierarchy

  • DataColumnConstraints

Constructors

Properties

constraint_name: string

Case sensitive name of constraint

Member

constraint_type: string

Lowercase type name of constraint: range | enum | glob

Member

description: string

For ranges and globs, describes the constraing; for enums, describes the enum value.

max: number

Maximum value for 'range' or NULL for 'enum' or 'glob' constraint_type

Member

max_is_inclusive: boolean

0 (false) if max value is exclusive, or 1 (true) if max value is inclusive

min: number

Minimum value for 'range' or NULL for 'enum' or 'glob' constraint_type

Member

min_is_inclusive: boolean

0 (false) if min value is exclusive, or 1 (true) if min value is inclusive

Member

value: string

Specified case sensitive value for enum or glob or NULL for range constraint_type

Member

COLUMN_CONSTRAINT_NAME: "constraint_name" = 'constraint_name'

constraintName field name

COLUMN_CONSTRAINT_TYPE: "constraint_type" = 'constraint_type'

constraintType field name

COLUMN_DESCRIPTION: "description" = 'description'

description field name

COLUMN_MAX: "max" = 'max'

max field name

COLUMN_MAX_IS_INCLUSIVE: "max_is_inclusive" = 'max_is_inclusive'

maxIsInclusive field name

COLUMN_MIN: "min" = 'min'

min field name

COLUMN_MIN_IS_INCLUSIVE: "min_is_inclusive" = 'min_is_inclusive'

minIsInclusive field name

COLUMN_VALUE: "value" = 'value'

value field name

TABLE_NAME: "gpkg_data_column_constraints" = 'gpkg_data_column_constraints'

Table name

Methods

Generated using TypeDoc