一柱工程
whereJsonContains('VehicleApplications' ,['ModelName' => $model, 'YearID' => $year] )->paginate(10);
v1l68za41#
如果有人知道有更干净的查询,请确保定义变量类型
$make = (string) $make; $model = (string) $model; $year = (int) $year; $category = (int) $category; whereJsonContains('VehicleApplications', ['ModelName' => $model, 'YearID' => $year] )-> whereJsonContains('pcItems', ['pcCategoryID' => $category] )->paginate(10);
1条答案
按热度按时间v1l68za41#
如果有人知道有更干净的查询,请确保定义变量类型