Modules
Ecto.ParameterizedType for persisting an interval as a
PostgreSQL tstzrange value.
Ecto.ParameterizedType for persisting the intervals an expression
covers as a PostgreSQL tstzmultirange value (PostgreSQL 14+).
Ecto query fragments for PostgreSQL range operators, named after Allen's interval algebra so queries read as English sentences.
Ecto query fragments for the tempo_range and
tempo_multirange composite types — the same Allen-named
macros as Tempo.Ecto.QueryAPI, but auto-unwrapping the
(column).range / (column).ranges field so Postgres range
operators can apply.
Ecto.ParameterizedType for persisting a value as a PostgreSQL
tstzrange: Tempo.Ecto.Interval under the name tempo_sql 0.2.0
gave a column of bare values, kept so that schemas written for it
still compile.
Ecto.ParameterizedType for the PostgreSQL composite type
tempo_multirange — a tstzmultirange paired with a
resolution string and jsonb metadata that together round-
trip a set, or any expression of several spans with ISO 8601 text,
without information loss.
Ecto.ParameterizedType for the PostgreSQL composite type
tempo_range — a tstzrange paired with a Tempo-resolution
string and a jsonb metadata column that together preserve
the full Tempo shape on round-trip.
Top-level namespace for ex_tempo_sql — Ecto types, query macros and
migration helpers that store Tempo expressions as PostgreSQL ranges and
multiranges.
Internal helpers that translate between Tempo intervals and the
DateTime / :unbound values that Postgrex.Range understands.
Shim module that adapts Erlang's built-in :json (OTP 27+) to
Postgrex's expected JSON-library interface.
JSON encoding and decoding for the meta column of the
tempo_range and tempo_multirange composite types.
Ecto migration helpers for the Tempo PostgreSQL range types.
The Postgrex types for a repository that stores the composite
tempo_range and tempo_multirange columns.
Returned when a Tempo expression cannot be stored in a PostgreSQL
range type, its :reason saying why.