我在 laravel 中使用 jenssegers mongodb 包来查询 mongodb。如何在下面的 json 文档中检索仅与比赛匹配的记录作为板球。
{
"_id": ObjectId("53402597d852426020000002"),
"contact": "987654321",
"dob": "01-01-1991",
"gender": "M",
"name": "Tom Benzamin",
"user_name": “tombenzamin”,
“Personal_info”:[
hobbies:{
"games": "cricket",
"favfilms": "lotr",
"favfood": "burger"
}
]
}
}