{
or: [
{ and: [{ cash: 'NEW' }] },
{editGoalStatus: 'PROCESSING'},
{editGoalStatus: 'NEW'},
a]
}
I want record like editGoalStatus should be PROCESSING
or NEW
and cash must be NEW
{
or: [
{ and: [{ cash: 'NEW' }] },
{editGoalStatus: 'PROCESSING'},
{editGoalStatus: 'NEW'},
a]
}
I want record like editGoalStatus should be PROCESSING
or NEW
and cash must be NEW
Taking a look at the documentation the filter should be something like
{
and: [
{ cash: 'NEW' },
{editGoalStatus: 'PROCESSING'},
{editGoalStatus: 'NEW'}
]
}
So assuming that you wrote the
I want record like editGoalStatus should be
PROCESSING
orNEW
and cash must beNEW
{
and: [
{ cash: 'NEW' },
{ editGoalStatus: { inq: ['PROCESSING', 'NEW'] } }
]
}
Hope this might be a hint.
Cheers!