我的问题如下所示
$data = Model::whereRaw(<condition 1>)
$data1 = $data->whereRaw(<condition 2>)
$data2 = $data->whereRaw(<condition 3>)
每当我打印时$data2->toSql()我都会得到这个
select * from table where <condition 1> and <condition 2> and <condition 3>
代替
select * from table where <condition 1> and <condition 2>
缥缈止盈
ABOUTYOU