This commit is contained in:
salam committed 2026-05-21 13:11:54 +02:00
1 parent 3bec94cc2a
commit 6c7be39f4a
1 file changed
+5 -3
+5 -3
View File
@@ -27,10 +27,12 @@ class ImportPlayer
$update_array[$name] = $row[$offset];
}
dd($update_array);
StatistikoPlayer::where('sport_id', $row[0])
->where('match_id', $row[1])
->where('ss_player_id', $row[2])
->where('tm_player_id', $row[3])
->where('match_id', (int) $row[1])
->where('ss_player_id', (int) $row[2])
->where('tm_player_id', (int) $row[3])
->update($update_array, ['upsert' => true]);
}
});