-
QuestionI'm trying to do a select where in content must be equal of one of the values of an array, like the example here:
But i'm getting the following error form TypeScript when trying with nested document:
How to reproduce (optional)
Prisma schema:
Expected behavior (optional)No response Information about Prisma Schema, Client Queries and Environment (optional)// Add your schema.prisma // Add any relevant Prisma Client queries here
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I figured out not long after posting. For reference:
|
Beta Was this translation helpful? Give feedback.
I figured out not long after posting.
I was missing the relation filter: https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#is
For reference: