API Reference Ecto DateTimeRange v1.1.0
modules
Modules
Ecto.DateTimeRange
provides modules implementing Ecto.Type
to allow
usage of Postgres range times encoding timestamp ranges.
Provides operators for querying against ranges in PostgreSQL.
An Ecto.Type
wrapping a :tsrange
Postgres column. To the application, it appears as
a struct with :start_at
and :end_at
, with t:Time.t()
values.
An Ecto.Type
wrapping a :tstzrange
Postgres column. To the application, it appears as
a struct with :start_at
and :end_at
, with :utc_datetime
values.