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