async fn upsert_exercise_slides(
conn: &mut PgConnection,
remapped_exercises: &HashMap<Uuid, Exercise>,
existing_slide_ids: &[Uuid],
slide_updates: &[CmsPageExerciseSlide],
retain_exercise_ids: bool,
) -> ModelResult<HashMap<Uuid, CmsPageExerciseSlide>>
Expand description
Remaps ids from updates to exercise slides that may have their ids changed.