headless_lms_models::chapters

Function get_chapter_by_page_id

Source
pub async fn get_chapter_by_page_id(
    conn: &mut PgConnection,
    page_id: Uuid,
) -> ModelResult<DatabaseChapter>