[
{
customer: {
field 1: {},
field 2: {},
answers: {
"BUSI_EXP": { "answered": true, "updated": "date" },
"NEW_HOME": { "answered": true, "updated": "date" },
"VEHICLE": { "answered": true, "updated": "date" }
}
}
},
{
customer: {
field 1: {},
field 2: {},
answers: {
"BUSI_EXP": { "answered": false, "updated": "date" },
"NEW_HOME": { "answered": false, "updated": "date" },
"VEHICLE": { "answered": true, "updated": "date" }
}
}
}
]
Here's my customer collection. As you can see, it has an answers field that has an answered flag for each key. How do i get all customers who answered any of the answers as true ?