pymongo 模糊匹配查詢在mongo中這樣實現python
{'asr':/若琪/}
使用pymongo.net
兩種實現方式blog
1.import re {'asr':re.compile('若琪')} 2.{'asr':{'$regex':'若琪'}}
轉自:https://blog.csdn.net/whd0310/article/details/41895163class