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

[REFACTOR] 뮤멘트 기록하기 API DB 처리 부분 sql query로 수정 #70

Closed
2 tasks done
kimchaeeun3447 opened this issue Oct 30, 2022 · 0 comments
Closed
2 tasks done
Assignees
Labels
✨CREATE issue - CRUD REFACTOR pr - 코드 리팩토링 🎶채은🎶 담당자 태그

Comments

@kimchaeeun3447
Copy link
Contributor

kimchaeeun3447 commented Oct 30, 2022

🎧 PROGRESS

  • mongoose -> sql query 사용으로 수정
  • 쿼리 2가지 트랜잭션으로 처리되도록 (커밋, 롤백, 릴리즈)

🎙 RELATED ISSUE? PR!?

#4

🎺 NOTE

  • 마이그레이션
  • 뮤멘트 생성 쿼리와 해당 뮤멘트에 대한 태그(mument_tag) 생성 쿼리 2가지가 실행되기 때문에 트랜잭션으로 처리했습니다. 두 쿼리중 하나라도 실행중 오류가 난다면 rollback하여 적용된 쿼리를 취소하도록 구현했습니다!
@kimchaeeun3447 kimchaeeun3447 self-assigned this Oct 30, 2022
@kimchaeeun3447 kimchaeeun3447 added 🎶채은🎶 담당자 태그 REFACTOR pr - 코드 리팩토링 ✨CREATE issue - CRUD labels Nov 2, 2022
@kimchaeeun3447 kimchaeeun3447 changed the title [REFACTOR] 뮤멘트 기록하기 API [REFACTOR] 뮤멘트 기록하기 API DB 처리 부분 sql query로 수정 Nov 2, 2022
kimchaeeun3447 added a commit that referenced this issue Nov 2, 2022
hujumee pushed a commit that referenced this issue Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨CREATE issue - CRUD REFACTOR pr - 코드 리팩토링 🎶채은🎶 담당자 태그
Projects
None yet
Development

No branches or pull requests

1 participant