MongoDB常用的比较符号和一些功能符号
比较符号
results = collection.find({'age': {'$gt': 20}})
功能符号
results = collection.find({'name': {'$regex': '^M.*'}})
比较符号
results = collection.find({'age': {'$gt': 20}})
功能符号
results = collection.find({'name': {'$regex': '^M.*'}})