我想在查询生成器的末尾添加一个“AND”子句,代码如下所示:
$orderers = DB::table('address')->where(function($query) use ($term) {
$query->where('id', 'LIKE', '%' . $term . '%')
->or_where('name', 'LIKE', '%' . $term . '%')
->or_where('status', 'LIKE', '%' . $term . '%')
->and_clause_goes_here('is_orderer', '=', '1');
})->paginate($per_page);
但是在 Laravel 中搜索 AND 子句我找不到任何等价物。你能帮我解决这个问题吗?