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