Skip to content
New issue

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

[refac] 메뉴 추가 시 발생 쿼리문 개선 #243

Open
1 task done
kgy1008 opened this issue Jan 6, 2025 · 0 comments · May be fixed by #244
Open
1 task done

[refac] 메뉴 추가 시 발생 쿼리문 개선 #243

kgy1008 opened this issue Jan 6, 2025 · 0 comments · May be fixed by #244
Assignees
Labels
api enhancement New feature or request

Comments

@kgy1008
Copy link
Member

kgy1008 commented Jan 6, 2025

Issue 📌

메뉴 생성시, 이미 존재하는 메뉴인지 확인하는 과정에서 각각의 메뉴마다 매번 쿼리 발생하는 것을 수정합니다.

Todo ✔️

  • stream을 돌면서 select 쿼리를 발생시키는 것이 아니라 처음부터 모든 메뉴를 받아와 검사하도록 수정
@kgy1008 kgy1008 added enhancement New feature or request api labels Jan 6, 2025
@kgy1008 kgy1008 self-assigned this Jan 6, 2025
@kgy1008 kgy1008 linked a pull request Jan 6, 2025 that will close this issue
@kgy1008 kgy1008 changed the title [refac] 메뉴 추가 시 발생 쿼리 횟수 줄이기 [refac] 메뉴 추가 시 발생 쿼리문 개선 Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant