Skip to main content

insert_many

Function insert_many 

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

Binds freshly uploaded files to the exercise and user they were uploaded for.