pub async fn get_course_pages_by_chapter_id_and_visibility(
conn: &mut PgConnection,
chapter_id: Uuid,
page_visibility: PageVisibility,
) -> ModelResult<Vec<Page>>
Expand description
Gets all pages that belong to the given chapter that match the visibility filter.