headless_lms_models::user_exercise_states

Function update

Source
pub async fn update(
    conn: &mut PgConnection,
    user_exercise_state_update: UserExerciseStateUpdate,
) -> ModelResult<UserExerciseState>
Expand description

TODO: should be moved to the user_exercise_state_updater as a private module so that this cannot be called outside of that module