IntegerRangeField ¶
See also
Contents
IntegerRangeField` ¶
- class IntegerRangeField ( ** options ) ¶
-
Stores a range of integers. Based on an
IntegerField
. Represented by anint4range
in the database and aNumericRange
in Python.Regardless of the bounds specified when saving the data, PostgreSQL always returns a range in a canonical form that includes the lower bound and excludes the upper bound; that is
[)
.