当前位置:网站首页>tp5 where查询数据库中的某个字段是否包含某个值,不用like的方法,模糊查询
tp5 where查询数据库中的某个字段是否包含某个值,不用like的方法,模糊查询
2022-06-29 18:29:00 【杭杭爸爸】
tp5 where查询数据库中的某个字段是否包含某个值,不用like的方法,模糊查询
//TP5 find_in_set用法
$where['parent_store_id'] = $this->parent_store_id;
$where['status'] = 'up';
$where['type'] = 'normal';
$where['deletetime'] = NULL;
$data[$k]['children'] = db('shopro_goods')
->where($where)
->where('find_in_set(8,category_ids)')
->order('weigh asc')->select();

边栏推荐
- 数据分析--时间序列预测
- [tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction
- Markdown common fonts
- AMAZING PANDAVERSE:META”无国界,来2.0新征程激活时髦属性
- WBF:检测任务NMS后虑框新方式?
- svg画圆路径动画
- PostGIS generate graphic cut
- JDBC knowledge
- [tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction
- MySQL enterprise development specification
猜你喜欢

Notes on spintronics - zhangshufeng

踩坑记:JSON.parse和JSON.stringify

Us judge ruled that the former security director of Uber accused of covering up hacking must face fraud charges

Tag filtering and SQL filtering of rocketmq

Shandong University project training (VIII) design rotation map entry page

Fluent's MSH grid learning
![报错[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket](/img/8a/ebad75daa581e22d50dddde49e1fac.jpg)
报错[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket

Anfulai embedded weekly report no. 271: June 20, 2022 to June 26, 2022

第02章_MySQL的数据目录

svg画圆路径动画
随机推荐
Data analysis time series prediction
jdbc_相关代码
6.29 simulation summary
山东大学项目实训(七)添加导航栏选择城市
AMAZING PANDAVERSE:META”无国界,来2.0新征程激活时髦属性
Panda Parkour JS games code
The strategy of convertible bonds -- - (cake sharing, premium, forced redemption, downward revision, double low)
Meta agent model can be migrated to resist attacks
Adobe Premiere foundation - material nesting (animation of Tiktok ending avatar) (IX)
2022.6.29-----leetcode. five hundred and thirty-five
数据仓库模型分层ODS、DWD、DWM实战
细说GaussDB(DWS)复杂多样的资源负载管理手段
山东大学项目实训(六)点击事件展示折线图
Error [warning] neural network information was performed on socket 'RGB', depth frame is aligned to socket
Adobe Premiere foundation - opacity (mixed mode) (XII)
JWT登录验证
jdbc认识上手
Fastdfs
如何在树莓派上使用OAK相机?
您好,请问mysql cdc、和postgresql cdc有官网样例吗?给个链接学习了