createRange
Creates a new instance of a PostgreSQL range type using its name and schema.
Return
A new io.github.octaviusframework.driver.container.PgRange instance.
Parameters
The name of the range type.
The schema where the range type is defined.
The lower bound value.
The upper bound value.
Whether the lower bound is inclusive.
Whether the upper bound is inclusive.
Whether the lower bound is infinite.
Whether the upper bound is infinite.
Whether the lower bound is null.
Whether the upper bound is null.
Creates a new instance of a PostgreSQL range type using its Object ID (OID).
Return
A new PgRange instance.
Parameters
The OID of the range type.
The lower bound value.
The upper bound value.
Whether the lower bound is inclusive.
Whether the upper bound is inclusive.
Whether the lower bound is infinite.
Whether the upper bound is infinite.
Whether the lower bound is null.
Whether the upper bound is null.
Throws
if the type is not found or is not a range.