pathologyData = mongo_db.unConsultationCurrUser.find({"uid": uid, "type": type,"allApplications":{$elemMatch:{"pathologyID":"adad"}}})
这个语法中$elemMatch提示错误
这个语法的意思是查找mongodb中allApplications数组中,"pathologyID"==="adad"的元素再mongodb 文档中可以查找,再main.py提示错误,应该怎么改?