rangeOf
Creates a range, inferring the PostgreSQL range type from T.
Resolution goes by subtype and a subtype maps to exactly one range type, so declaring a custom range over a built-in subtype makes unqualified ranges of that element type ambiguous - the highest OID wins, which is always the custom one. Pin the type with withPgType where that matters.
Return
The constructed range.
Parameters
The lower bound value, or null for none.
The upper bound value, or null for none.
Whether the lower bound is part of the range.
Whether the upper bound is part of the range.
Whether the range is unbounded below. Defaults to lowerBound == null.
Whether the range is unbounded above. Defaults to upperBound == null.
Whether the lower bound is present but NULL, as distinct from unbounded.
Whether the upper bound is present but NULL, as distinct from unbounded.
Type Parameters
The type of the range bounds.