View Source Glific.BigQuery.BigQueryJob (Glific v5.1.6)

Book keeping table to keep track of the last job that we processed from the messages belonging to the organization

Link to this section Summary

Functions

Standard changeset pattern we use for all data types

Link to this section Types

@type t() :: %Glific.BigQuery.BigQueryJob{
  __meta__: Ecto.Schema.Metadata.t(),
  id: non_neg_integer() | nil,
  inserted_at: :utc_datetime | nil,
  last_updated_at: :utc_datetime_usec | nil,
  organization:
    Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil,
  organization_id: non_neg_integer() | nil,
  table: String.t(),
  table_id: non_neg_integer() | nil,
  updated_at: :utc_datetime | nil
}

Link to this section Functions

Link to this function

changeset(search, attrs)

View Source
@spec changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern we use for all data types