0
点赞
收藏
分享

微信扫一扫

thinkphp5 where or 连贯操作多条件查询

心如止水_c736 2023-02-15 阅读 43


$today = ['firm_add_time'=>[ [ 'eq' , 1] , [ 'eq' , 2 ] ,  [ 'eq' , 3 ] , 'or' ]];

第二种

$where =['member_time' => ['egt', MONTH_BEGIN]];

in操作:

$where = ['id'=>['in',$id]];


举报

相关推荐

0 条评论