Delete with Schemas

Learn how to delete records with schemas.

Delete with schemas

Now let’s look at how to delete records. When we first looked at delete_all here, we used it to remove all of the records in the table, like so:

Press + to interact
Repo.delete_all("tracks")

When we ...