helpful-carpenter-3208
03/14/2022, 12:47 PM{ address: {state: 'CA'}}
And we can add address.state
in the JSON rulefuture-teacher-7046
address.state
as a string, it should show up in the dropdown when adding conditions.helpful-carpenter-3208
03/14/2022, 12:49 PMfuture-teacher-7046
$elemMatch
. For example, if you have an array of address objects instead of just a single address:
{
"addresses": {
"$elemMatch": {
"state": "CA"
}
}
}
helpful-carpenter-3208
03/14/2022, 1:53 PM