Ypu can do something like this:
%MyStruct{id: 10} |> MyApp.Repo.delete
That is just build a struct with the id in it then delete
Ypu can do something like this:
%MyStruct{id: 10} |> MyApp.Repo.delete
That is just build a struct with the id in it then delete