View Source Interval.Support.Postgrex (Interval v0.3.0)
Conversion helpers for converting Postgrex.Range.t/0
to and from
an Interval.t/0
example
Example
interval = Interval.Support.Postgrex.from_range(my_int4range, Interval.Integer)
Link to this section Summary
Functions
Convert a Postgrex.Range
to a struct of type module
Convert an Interval
struct to a Postgrex.Range
.
Link to this section Functions
Convert a Postgrex.Range
to a struct of type module
Convert an Interval
struct to a Postgrex.Range
.