Checking Null or empty list
I have a field of type integer list in my DB.
I want to add a filter if is empty or null,
But I am getting this error
I had tried a lot of the stuff already, but I don't know how to fix this error, any help pls?
3 Replies
Hi @Dobleuber
Can you try this ?
See this documentation https://www.prisma.io/docs/orm/prisma-client/special-fields-and-types/working-with-json-fields#filtering-by-null-values
Working with Json fields (Concepts) | Prisma Documentation
How to read, write, and filter by Json fields.
I tried already, It didn’t work.
Can you please share your schema