Brothak
07/18/2022, 9:41 AMexport type UserWhereUniqueInput = {
id?: number
}
Austin
07/18/2022, 9:51 AMname
is not unique so the where
selector won’t work: https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#updateAustin
07/18/2022, 9:52 AM@unique
or try findFirst
Nurul
07/18/2022, 12:20 PM@unique
attributes in where clause.