try fix error cannot insert multiple commands into prepared statement

This commit is contained in:
2023-09-11 11:23:21 +02:00
parent 92b1b17679
commit c1d70ec63e
6 changed files with 19 additions and 13 deletions

View File

@@ -120,6 +120,7 @@ class PersonDuplicateController extends Controller
$connection->beginTransaction();
foreach ($sqls as $sql) {
dump($sql);
$connection->executeQuery($sql);
}
$connection->commit();