range_term
is the equivalent of Postgres’ operators over range types.
It supports operations like range containment, overlap, and intersection.
weight_range
is an int4range
type.
The following query finds all rows where weight_range
contains 1
: