pymongo 模糊匹配查询在mongo中这样实现python
{'asr':/若琪/}
使用pymongo.net
两种实现方式blog
1.import re {'asr':re.compile('若琪')} 2.{'asr':{'$regex':'若琪'}}
转自:https://blog.csdn.net/whd0310/article/details/41895163class