headless_lms_models::pages

Function get_by_exam_id

Source
pub async fn get_by_exam_id(
    conn: &mut PgConnection,
    exam_id: Uuid,
) -> ModelResult<Page>
Expand description

Gets the page that belongs to the given exam. For exams, the page visibility is ignored.