Function create

Source
pub async fn create<'a, E>(
    executor: E,
    company_id: i32,
    params: CreateParams,
) -> Result<Page>
where E: Executor<'a, Database = Postgres>,
Expand description

Create page.

ยงErrors

Returns error if there was a problem while creating page.