View Source QuantumStorageEcto.Job (Quantum Storage Ecto v0.1.1)

Ecto compatible type for a Quantum.Job

Summary

Types

t()

An Ecto representation of a Quantum.Job

Types

@type t() :: %QuantumStorageEcto.Job{
  __meta__: Ecto.Schema.Metadata.t(),
  inserted_at: NaiveDateTime.t(),
  name: atom() | reference(),
  overlap: boolean(),
  run_strategy: binary(),
  schedule: Crontab.CronExpression.t(),
  state: Quantum.Job.state(),
  task: binary(),
  timezone: atom(),
  updated_at: NaiveDateTime.t()
}

An Ecto representation of a Quantum.Job

Functions

Link to this function

changeset(job, attrs \\ %{})

View Source
@spec changeset(job :: t(), attrs :: map()) :: Ecto.Changeset.t()
Link to this function

update_changeset(job, attrs \\ %{})

View Source