Skip to main content

insert_many

Function insert_many 

Source
pub async fn insert_many(
    conn: &mut PgConnection,
    page_history_id: Uuid,
    file_upload_ids: &[Uuid],
) -> ModelResult<()>
Expand description

Records the files the private specs of one history version name. Duplicates within file_upload_ids collapse: several tasks in a page may name the same file, and one row per version and file is all a reference check needs.