wide-stone-93283
10/11/2022, 8:56 PMIF list includes val1 AND list includes val2
but when saving it, it only saves the first condition.fresh-football-47124
wide-stone-93283
10/11/2022, 9:12 PMfresh-football-47124
wide-stone-93283
10/11/2022, 9:13 PMfresh-football-47124
wide-stone-93283
10/11/2022, 9:14 PM$and: [
{ x: { $ne: 0 } },
{ $expr: { $eq: [ { $divide: [ 1, "$x" ] }, 3 ] } }
]
$and: [
{"user_tags": {"$elemMatch": {"$eq": "tag1"}}},
{"user_tags": {"$elemMatch": {"$eq": "tag2"}}}
]
fresh-football-47124
wide-stone-93283
10/11/2022, 9:23 PM{
"$and": [
{
"user_tags": {
"$elemMatch": {
"$eq": "tag1"
}
}
},
{
"user_tags": {
"$elemMatch": {
"$eq": "tag2"
}
}
}
]
}
fresh-football-47124
wide-stone-93283
10/11/2022, 9:26 PMfresh-football-47124