mpgalaxy
Explore posts from serversPPrisma
•Created by mpgalaxy on 5/16/2024 in #help-and-questions
Filter (where) for nonexistant boolean field
Hi, is there a way in prisma to filter in where for a nonexisting boolean field ?
Curent situation: prisma 4.10 + graphql + nexus with mongoDB
We introduced a Boolean field later on and the older datasets don't have this field.
In my queries I want to filter for this field to be
false
or nonexistant, but undefined
is treated differently in prisma and isSet
or null
are not allowed for boolean fields.
How can I filter for these conditions ?2 replies