From 584a172c2f0001ad32d6c81855365303d23260f2 Mon Sep 17 00:00:00 2001 From: j-mendez Date: Fri, 30 Aug 2024 09:56:07 -0400 Subject: [PATCH] chore(add): remove panic on insert_many [#1407] --- src/query/insert.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/insert.rs b/src/query/insert.rs index b13cd8a43..9e43fc4c8 100644 --- a/src/query/insert.rs +++ b/src/query/insert.rs @@ -134,7 +134,7 @@ where if columns_empty { self.columns.push(av_has_val); } else if self.columns[idx] != av_has_val { - panic!("columns mismatch"); + continue; } match av { ActiveValue::Set(value) | ActiveValue::Unchanged(value) => {