pub async fn get_id_by_file_upload_id(
conn: &mut PgConnection,
file_upload_id: Uuid,
) -> ModelResult<Uuid>Expand description
The binding row’s own id for an uploaded file.
Errors when no binding exists; mark_reaped is what consumes this id.