当前位置:网站首页>pymongo模糊查询
pymongo模糊查询
2022-07-17 05:09:00 【IChocolateKapa】
import re
name = 'echo'
rexExp = re.compile('.*' + name + '.*', re.IGNORECASE)
res = db.find({'name':rexExp })
for rs in res:
print rs
边栏推荐
- 判断素数
- Minor problems of GCC compiling C language in ubantu
- GoFrame 错误处理的常用方法&错误码的使用
- 8.数据仓库之ODS层搭建
- 【全网首发】一个月后,我们又从 MySQL 双主切换成了主-从
- Distributed registry etcd
- 【Bug解决】org.apache.ibatis.type.TypeException: The alias ‘xxxx‘ is already mapped to the value ‘xxx‘
- C语言文件的操作
- Some applications of special pointers
- Single arm routing configuration
猜你喜欢
随机推荐
【函数的效率】
2022年春招最新消息:IT互联网行业平均薪资18500元
Talk about the 8 pits of redis distributed lock
Redis source code analysis skip table implementation
MySQL--存储和游标
表字段属性查询
MySQL basic grammar dictionary
【全网首发】主线程异常会导致 JVM 退出?
Mapbox loads local offline terrain
性能瓶颈查找-火焰图分析
使用Flink SQL传输市场数据1:传输VWAP
[efficiency of function]
Pointer function of C language
MySQL -- storage and cursor
MySQL 查询当天、本周,本月、上一个月的数据
Use iceberg in CDP to pressurize the data Lake warehouse
Redis source code analysis dynamic string implementation (SDS)
柠檬班软件测试培训可靠吗 这个从培训班逆袭成功的案例告诉你
Round robin schedule problem
MYSQL基本语法字典









