0
加入我有一个像复杂查询在laravel
SELECT a.id, a.code, b.id as bid FROM a LEFT JOIN b ON a.code BETWEEN b.start AND b.end
现在我怎样才能将它转换为laravel雄辩查询的查询?
我试过了吗?
A::leftJoin('b', function($j){
$j->on() //here I face complexity. How I implement it
})