Prisma3mo ago

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
Nurul3mo ago
Hey @mpgalaxy 👋
nonexisting boolean field
If I understand correctly this boolean field is not defined the schema.prisma file, right?