Endon.delete

You're seeing just the function delete, go back to Endon module for more information.

Specs

delete(Ecto.Schema.t()) :: {:ok, Ecto.Schema.t()} | {:error, Ecto.Changeset.t()}

Delete a record in the data store.

The struct must be a Ecto.Schema.t/0 (your module that uses Ecto.Schema).

Returns {:ok, struct} if the record is deleted, or {:error, changeset} if there is a validation error.