thinkphp-where-数组条件-表达式查询
更新:HHH   时间:2023-1-7


语法

Db::table(表名)->where(条件)->select();

示例

$map['id']  = ['>',1];
$map['mail']  = ['like','%thinkphp@qq.com%'];
Db::table('think_user')->where($map)->select();


返回web开发教程...