比较符号
results = collection.find({
'age': {
'$gt': 20}})
功能符号
results = collection.find({
'name': {
'$regex': '^M.*'}})
比较符号
results = collection.find({
'age': {
'$gt': 20}})
功能符号
results = collection.find({
'name': {
'$regex': '^M.*'}})