View Source Glific.Settings.Language (Glific v5.1.6)
Ecto schema and minimal interface for the languages table
Link to this section Summary
Functions
Standard changeset pattern we use for all data types
Delete changeset pattern we use for all data types
Link to this section Types
@type t() :: %Glific.Settings.Language{ __meta__: Ecto.Schema.Metadata.t(), description: String.t() | nil, id: non_neg_integer() | nil, inserted_at: :utc_datetime | nil, is_active: boolean(), label: String.t() | nil, label_locale: String.t() | nil, locale: String.t() | nil, localized: boolean(), updated_at: :utc_datetime | nil }
Link to this section Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all data types
@spec delete_changeset(t()) :: Ecto.Changeset.t()
Delete changeset pattern we use for all data types