We have implemented feedback dialog where we are collecting feedback (Like/Dislike) and reason (free text) from user. All these fields are optional for user.
They can give feedback but not reason or they can avoid both the fields.
We are looking to filter the feedback where user has not given reason, we tried with ‘Null’ operator, but it is not fetching the response because the field may not be existing in DB. It could be like below objects:
{
“feedback”: “like”,
“reason”: “any”
},
{
“feedback”: “dislike”
},
{
“feedback”: “like”
}
Here first object is having the reason field and last 2 not.
Could you please help how we can get object where we do not have reason field.