Skip to main content

get_chapter_page_paths

Function get_chapter_page_paths 

Source
pub async fn get_chapter_page_paths(
    conn: &mut PgConnection,
    chapter_id: Uuid,
) -> ModelResult<Vec<PageIdAndUrlPath>>
Expand description

Like get_chapter_pages, projected down to id and url_path for callers that only rewrite paths and would otherwise pull every page’s content JSONB for nothing.