issues
search
Turing-mentos
/
Turing-BE
과외 수업의 부담감은 내리고 효율성은 올리는 과외 알리미
0
stars
1
forks
source link
[Refactor] 여러 데이터 삽입 기능에 BulkInsert 적용
#43
Open
beomzun
opened
2 months ago
beomzun
commented
2 months ago
✨ Description
saveAll -> bulkInsert
📌 구현 내용
[ ] ScheduleService - createSchedules
[ ] AlternativeService - createAlterSchedule(메서드명 복수로 수정 필요)
🌱 Etc
save와 saveAll 메서드는 동일하게 단건 삽입이 수행되므로 saveAll 내부에서 save메서드가 n번 호출되므로 n번의 쿼리 발생 -> 이를 bulkInsert를 통해 1번의 쿼리로 기능이 동작하도록 성능을 개선하고자 함
✨ Description
📌 구현 내용
🌱 Etc