Question : mongodb match multiple fields
Answered by : defiant-dogfish-niy2wf4mp8ew
$match:
{ $and: [ {'ExtraFields.value': {$in: ["A52A2A"]}}, {'ExtraFields.fieldID': ObjectId("5535627631efa0843554b0ea")} ]
}
Source : https://stackoverflow.com/questions/30034769/mongodb-aggregation-match-multiple-and-on-the-same-field | Last Update : Wed, 08 Jul 20