Function headless_lms_models::pages::insert_course_page
source · pub async fn insert_course_page(
conn: &mut PgConnection,
new_course_page: &NewCoursePage<'_>,
author: Uuid
) -> ModelResult<(Uuid, Uuid)>
pub async fn insert_course_page(
conn: &mut PgConnection,
new_course_page: &NewCoursePage<'_>,
author: Uuid
) -> ModelResult<(Uuid, Uuid)>