P
Prisma•6mo ago
mpgalaxy

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 ?
1 Reply
Nurul
Nurul•6mo ago
Hey @mpgalaxy 👋
nonexisting boolean field
If I understand correctly this boolean field is not defined the schema.prisma file, right?
Want results from more Discord servers?
Add your server