$mod only supports numeric types, not array and int in MongoDb
I have this document structure in my collection: { "grades": [ { "grade": "A", "score": 8 }, {"grade": "A", "score": 7 } ] } I need to filter for those documents when their score is divided by 7 has 0…