79711520

Date: 2025-07-23 08:24:50
Score: 4
Natty:
Report link

You can not use where clause on non unique fields as described in the documentation https://www.prisma.io/docs/orm/prisma-client/queries/crud#update. I was also facing the same problem and had to use @unique on my schema.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @unique
  • Single line (0.5):
  • Low reputation (1):
Posted by: Umair Ahmed