tp5.0where条件生成问题

浏览:535 发布日期:2020/06/27 分类:ThinkPHP5专区 关键字: where tp5.0
SELECT
    *
FROM
    `list_order` 
WHERE
    `comment_time` LIKE '2020-06-14%' 
    AND `comment_time` < '2020-06-15' 
    LIMIT 0,
    10
DB::table('list')->where($where)->limit(0,10)->select();
我想用tp5.0生成如上的sql语句,这里的$where应该怎么写呢,求解!
最佳答案
评论( 相关
后面还有条评论,点击查看>>