History.PeriodType (history v0.0.23)

Link to this section Summary

Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

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

Callback implementation for Ecto.Type.load/1.

Callback implementation for Ecto.Type.type/0.

Link to this section Types

Specs

t() ::
  :min_1
  | :min_5
  | :min_15
  | :hour_1
  | :hour_2
  | :hour_3
  | :hour_4
  | :hour_6
  | :hour_12
  | :day_1
  | :week_1
  | :month_1
  | :year_1

Link to this section Functions

Callback implementation for Ecto.Type.cast/1.

Callback implementation for Ecto.Type.dump/1.

Callback implementation for Ecto.Type.embed_as/1.

Link to this function

equal?(term1, term2)

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

Callback implementation for Ecto.Type.load/1.

Link to this function

schemaless_type()

Link to this function

string_values()

Callback implementation for Ecto.Type.type/0.

Link to this function

valid_value?(value)