pymongo 模糊匹配查询 在mongo中做sql的like语句是很容易的:
1.import re{'xxx':re.compile('xxx')}2.{'xxx':{'$regex':'xxx'}}