Glific v0.3.1 Glific.Flows.FlowCount View Source
The flow count object
Link to this section Summary
Functions
Standard changeset pattern we use for all data types
Get a list of flow count
Upsert flow count
Link to this section Types
Specs
t() :: %Glific.Flows.FlowCount{
__meta__: Ecto.Schema.Metadata.t(),
count: integer() | nil,
destination_uuid: Ecto.UUID.t() | nil,
flow: Glific.Flows.Flow.t() | Ecto.Association.NotLoaded.t() | nil,
flow_id: non_neg_integer() | nil,
flow_uuid: Ecto.UUID.t() | nil,
id: non_neg_integer() | nil,
inserted_at: :utc_datetime | nil,
recent_messages: [map()] | nil,
type: String.t() | nil,
updated_at: :utc_datetime | nil,
uuid: Ecto.UUID.t() | nil
}
Link to this section Functions
Specs
changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all data types
Specs
get_flow_count_list(Ecto.UUID.t()) :: :error | list()
Get a list of flow count
Specs
Upsert flow count