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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
하드코딩된
1대신 파라미터를 사용하여 유연성을 높이는 것이 좋습니다. 코드 주석(//초기 테스트로 1개로 수정 (기존은 100개))을 보면 이 값은 향후 변경될 가능성이 있습니다. 값을 파라미터화하면 쿼리 자체를 수정하지 않고도 이 임계값을 쉽게 조정할 수 있습니다.이 변경을 적용하려면 메서드 시그니처도 함께 업데이트해야 합니다:
또한, 메서드 이름을 좀 더 일반적인 이름으로 변경하는 것을 고려해볼 수 있습니다.