colossal-alligator-31194
09/05/2023, 12:39 PMfeature targeting group
?
I know we can have saved groups for a single attribute but I wanna have a OR condition over two attributes. like if product === 'X' OR country === 'Y'
. By default it makes a AND out of the two conditions.{
"$or": [
{
"country": {
"$ne": "Y"
}
},
{
"country": {
"$ne": "X"
}
},
{
"product": {
"$ne": "Z"
}
}
]
}
{
"$or": [
{
"product": {
"$ne": "Z"
}
},
{
"country": {
"$nin": [
"Y",
"X"
]
}
}
]
}
I tried these but seems to not working.swift-helmet-3648
09/05/2023, 5:27 PMcolossal-alligator-31194
09/06/2023, 7:06 AM{
"$nor": [
{
"country": {
"$in": [
"X",
"Y"
]
}
},
{
"product": "Z"
}
]
}