create
Creates a range, packing the bound descriptions into the protocol's flag byte.
The defaults produce PostgreSQL's own [) convention: lower inclusive, upper exclusive, and a bound left null treated as unbounded rather than as a NULL value. Pass isLowerNull or isUpperNull to mean the other thing. Infinite wins over Null where both are asked for.
Return
The constructed PgRange.
Parameters
OID of the range type.
OID of its bound type.
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.
Whether the upper bound is present but NULL.