View Source StepFlow.Statistics.JobsDurations (StepFlow v1.8.0)

The JobsStatistics context.

Summary

Functions

Link to this function

create_job_durations(attrs \\ %{})

View Source

Creates a job durations.

Examples

iex> create_job_durations(%{field: value})
{:ok, %JobDurations{}}

iex> create_job_durations(%{field: bad_value})
{:error, %Ecto.Changeset{}}
Link to this function

set_job_durations(job_id)

View Source
Link to this function

update_job_durations(job_durations, attrs)

View Source

Updates a job durations.

Examples

iex> update_job_durations(job_durations, %{field: new_value})
{:ok, %JobDurations{}}

iex> update_job_durations(job_durations, %{field: bad_value})
{:error, %Ecto.Changeset{}}