Dobleuber
Dobleuber
PPrisma
Created by Dobleuber on 10/29/2024 in #help-and-questions
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,
{
OR: [
{ myList: { isEmpty: true } },
{ myList: { equals: null } }
]
}
{
OR: [
{ myList: { isEmpty: true } },
{ myList: { equals: null } }
]
}
But I am getting this error
Argument `equals`: Invalid value provided. Expected Null, provided (Null)."
Argument `equals`: Invalid value provided. Expected Null, provided (Null)."
I had tried a lot of the stuff already, but I don't know how to fix this error, any help pls?
5 replies