API Reference Ecto DateTimeRange v1.2.2
modules
Modules
Ecto.DateTimeRange
provides modules implementing Ecto.Type
to allow
usage of Postgres range times encoding timestamp ranges.
An Ecto.Type
wrapping a :tsrange
Postgres column. To the application, it appears as
a struct with :start_at
and :end_at
, with :naive_datetime
values.
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.