当前位置:网站首页>TP5 where queries whether a field in the database contains a value. Fuzzy queries are performed without the like method
TP5 where queries whether a field in the database contains a value. Fuzzy queries are performed without the like method
2022-06-29 18:57:00 【Hang Hang Dad】
tp5 where Query whether a field in the database contains a value , no need like Methods , Fuzzy query
//TP5 find_in_set usage
$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();

边栏推荐
- Redis(一)--Redis入门(1)--Redis介绍、安装与启动、常用配置
- C Primer Plus 第12章_存储类别、链接和内存管理_代码和练习题
- 2. how to install MySQL database in Galaxy Kirin offline mode
- Sd6.23 summary of intensive training
- 山东大学项目实训(六)点击事件展示折线图
- 【网络是怎么连接的】第三章 探索集线器,交换机和路由器
- 产品-Axure9(英文版),中继器(Repeater)实现表格内容的增删查改(CRUD)
- Redis bloom filter and cuckoo filter
- Data-* attribute usage
- Elegant writing controller (parameter verification + unified exception handling)
猜你喜欢

踩坑记:JSON.parse和JSON.stringify

细说GaussDB(DWS)复杂多样的资源负载管理手段

Dragon canvas animation

剑指 Offer 34. 二叉树中和为某一值的路径-dfs法

Panda Parkour JS games code

龙canvas动画

Machine learning 7-Support vector machine

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

报错Failed to allocate graph: MYRIAD device is not opened.

JWT登录验证
随机推荐
Dragon canvas animation
RocketMQ的tag过滤和sql过滤
Anaconda安装并配置jupyter notebook远程
JDBC Codes connexes
6.29 simulation summary
Deep learning --- the weight of the three good students' scores (2)
如何将OAK相机当做网络摄像头使用?
移动端测试
How to use the oak camera on raspberry pie?
Redis(一)--Redis入门(2)--Redis数据类型
第八届“互联网+”大赛 | 云原生赛道邀你来挑战
Request header field XXXX is not allowed by access control allow headers in preflight response
76.二叉树的最近公共祖先
SD6.22集训总结
sql server备份以及还原的命令操作
Machine learning 8-artificial neural network
Up to 81.98%! Announcement of undergraduate study rate of more than 100 "double first-class" Universities
jdbc_ Related codes
Redis (I) -- getting started with redis (2) -- redis data type
SD6.24集训总结