code_corps v0.0.1 CodeCorps.UserTask View Source
Represents a link record between a task and a user, indicating that the task was assigned to the user.
Link to this section Summary
Functions
Builds a changeset used to insert a record into the database
Builds a changeset used to update an existing record in the database
Link to this section Types
Link to this type
t()
View Source
t() :: %CodeCorps.UserTask{__meta__: term(), id: term(), inserted_at: term(), task: term(), task_id: term(), updated_at: term(), user: term(), user_id: term()}
Link to this section Functions
Link to this function
create_changeset(struct, params \\ %{})
View Source
create_changeset(CodeCorps.UserTask.t(), map()) :: Ecto.Changeset.t()
Builds a changeset used to insert a record into the database
Link to this function
update_changeset(struct, params \\ %{})
View Source
update_changeset(CodeCorps.UserTask.t(), map()) :: Ecto.Changeset.t()
Builds a changeset used to update an existing record in the database