Apart from creating entries, it's also very intuitive to read, update, or delete data from the database with Prisma Client.
In this lesson, we will explore the Prisma Client API for findMany
, findOne
, updateMany
, deleteMany
and so on.
Notice that since all these methods are tailored to the schema that we defined earlier, VS Code is aware of what is valid and is able to prompt us with helpful autocomplete options, making it much easier to explore the Prisma Client API.