Skip to content

[Refactor] 여러 데이터 삽입 기능에 BulkInsert 적용 #43

@beomzun

Description

@beomzun

✨ Description

saveAll -> bulkInsert

📌 구현 내용

  • ScheduleService - createSchedules
  • AlternativeService - createAlterSchedule(메서드명 복수로 수정 필요)

🌱 Etc

  • save와 saveAll 메서드는 동일하게 단건 삽입이 수행되므로 saveAll 내부에서 save메서드가 n번 호출되므로 n번의 쿼리 발생
    -> 이를 bulkInsert를 통해 1번의 쿼리로 기능이 동작하도록 성능을 개선하고자 함

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions