withCount 메서드에서 where 절을 사용하는 Laravel 저는 이 코드 조각을 사용하여 laravel의 유창한 쿼리 빌더의 카운트 방법으로 where 절을 하려고 합니다. $posts = Post::withCount('upvotes')->where('upvotes_count', '>', 5)->get(); 그리고 이 코드는 나에게 이 오류를 주고 있습니다. SQLSTATE[42S22]:열을 찾을 수 없음: 1054 'where 절'의 알 수 없는 열 'upvotes_count'(SQL: select , (count() 선택 항목)upvotes어디에upvotes.upvoteable_id=posts.id그리고.upvotes.upvoteable_type= 앱\게시):upvotes_count부터pos..