headless_lms_models::peer_or_self_review_configs

Function get_by_exercise_id

Source
pub async fn get_by_exercise_id(
    conn: &mut PgConnection,
    exercise_id: Uuid,
) -> ModelResult<PeerOrSelfReviewConfig>
Expand description

Usually you want to use get_by_exercise_or_course_id instead of this one.