Loading
Current section: Updating Data 6 exercises
Problem

Mutating Data with Prisma

Transcript

00:00 Let's make this delete button actually work. So we're loading the data properly, but when we delete, it does redirect us, but that data is not actually deleted because we're just deleting it from the in-memory database. You need to do this mutation to the actual database. This one's gonna be pretty simple. This is a pretty quick one,

00:19 but the next steps in this exercise will be a little bit more on the complicated side. So we're gonna throw you a softball for this one to do your first mutation with Prisma as a simpler thing, and then we'll get into more complicated stuff next. So have a good time with this one. Enjoy it while it lasts. It's gonna get a little more hard after this.