MscmpSystDb.DbTypes.DateTimeRange (mscmp_syst_db v0.1.0)

An Elixir representation of the PostgreSQL tstzrange data type.

Derived from the Postgrex.Range data type. For more information about this data type, see: The PostgreSQL Documentation: Range Types

Summary

Functions

Callback implementation for Ecto.Type.embed_as/1.

Callback implementation for Ecto.Type.equal?/2.

Types

@type t() :: %MscmpSystDb.DbTypes.DateTimeRange{
  lower: DateTime.t() | :empty | :unbound,
  lower_inclusive: boolean(),
  upper: DateTime.t() | :empty | :unbound,
  upper_inclusive: boolean()
}

Functions

Callback implementation for Ecto.Type.embed_as/1.

Link to this function

equal?(term1, term2)

Callback implementation for Ecto.Type.equal?/2.