Postgrex.Range (Postgrex v0.20.0)
View SourceStruct for PostgreSQL range.
Note that PostgreSQL itself does not return ranges exactly as stored:
SELECT '(1,5)'::int4range returns [2,5), which is equivalent in terms
of the values included in the range (PostgreSQL docs).
When selecting data, this struct simply reflects what PostgreSQL returns.
Fields
lowerupperlower_inclusiveupper_inclusive