We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
따라서, N+N 개의 요청 발생 -> 게시글 10개가 있다면, 댓글 수 값을 알기 위해 추가적으로 10번의 댓글 테이블 조회 쿼리가 발생한다.
The text was updated successfully, but these errors were encountered:
select p.*, count(c.id) as count from post as p left join comment as c on p.id = c.post_id GROUP BY p.id;
Sorry, something went wrong.
게시글 스크롤 조회 api 응답값에 tags 프로퍼티 추가
402c87e
close #105 쿼리만 개선, 실제로 repository에서 dto로 projection하는 작업 필요. see #83
No branches or pull requests
현재 메인 페이지 조회 요청 로직
문제점
따라서, N+N 개의 요청 발생
->
게시글 10개가 있다면, 댓글 수 값을 알기 위해 추가적으로 10번의 댓글 테이블 조회 쿼리가 발생한다.
The text was updated successfully, but these errors were encountered: