pub async fn is_chapter_front_page(
conn: &mut PgConnection,
page_id: Uuid,
) -> ModelResult<IsChapterFrontPage>Expand description
Whether the page is its chapter’s front page; false for a page outside chapters or one that doesn’t exist.
pub async fn is_chapter_front_page(
conn: &mut PgConnection,
page_id: Uuid,
) -> ModelResult<IsChapterFrontPage>Whether the page is its chapter’s front page; false for a page outside chapters or one that doesn’t exist.