Conversation
- 대부분 최신순으로 조회하는 쿼리를 자주 사용하는 만큼, id 컬럼을 역순 스캔이 일어나지 않도록 desc를 주어서 id를 내림차순으로 읽을 수 있도록한다.
- JPQL을 더 편하게 작성하고, 동적쿼리를 효과적으로 작성하기 위해 QueryDsl을 추가한다
- context가 초기화 되지 않아서, 테스트가 서로 영향을 주게 되는 것을 고친다.
- main page의 쿼리를 queryDsl로 변경한다 - 동적으로 where절을 생성하여, 인덱스를 효율적으로 사용하지 못하도록 하는, OR 절을 사용하는 것을 방지하도록한다.
- main page에서 썸네일을 조회할 수 있도록 추가합니다 - 이미지가 존재하지 않는 경우, "none" 존재하는경우 uri를 보여주도록 합니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🥇 내용 소개
🔍 추후에 할 것
🧷 관련 issue
closed #53