Skip to main content

insert_page_row

Function insert_page_row 

Source
pub async fn insert_page_row(
    conn: &mut PgConnection,
    row: PageRow<'_>,
    content: &Value,
) -> ModelResult<Page>
Expand description

Inserts a page with the given content, a course page in a new page language group of its course. Writes no page history.