Eloquent로 "null이 아닌 경우"를 어떻게 확인합니까?
Eloquent 에서 필드 가 null이 아닌지 어떻게 확인 합니까? 나는 시도 Model::where('sent_at', 'IS NOT', DB::raw('null'))->...했지만 IS NOT비교 대신 바인딩으로 제공합니다 . 이것에 대해 DB::getQueryLog()말합니다 : 'query' => string 'select * from my_table where sent_at = ? and profile_id in (?, ?) order by created_at desc' (length=101) 'bindings' => array (size=3) …