Hi, I wanted to filter all objects that did not ha...
# orm-help
h
Hi, I wanted to filter all objects that did not have an optional relation or attribute set. Thereby I came across the
is
and
isNot
syntax. Is this documented somewhere? I couldn’t find it in the prisma docs. (Maybe I just missed it?) Thanks to the whole prisma team, for creating such a great productprisma rainbow
r
@Henri Kuper 👋 Could you share a snippet of your schema and which field you would like to filter on so that I can send you the query.
h
I think I found the solution without using isNot:
where:{
attribute:{}
}
👍 1
Thanks for the help 🙂 Is there an example in the docs? I dont need it anymore, but maybe someone else does.
r
Let me check and get back to you 🙂