سلام دوستان من کد زیر رو مینویسم
$searches = Sell::orderBy('price')->where([['price','like','%'.+$request->price.'%'], ['type','!=','100']])->toSql();
return $searches;
ولی توی خروجی به جای مقادیر علامت سوال (؟) نشون میده مشکلش از چی میتونه باشه?لطفا راهنمایی کنید.
select * from `sells` where (`price` like ? and `type` != ?) order by `price` ascشاید پاسخ شما همینجا باشد