Skip to main content

page_links

Function page_links 

Source
async fn page_links(
    conn: &mut PgConnection,
    course_id: Uuid,
    staged_rows: &[AgentChangesetEntity],
    only_changed: bool,
) -> ModelResult<Vec<PreviewPageLink>>
Expand description

The pages of course_id as staged_rows leave them, in course order: only those the rows add or change with only_changed, else all of them.