test
This commit is contained in:
1 parent
3bec94cc2a
commit
6c7be39f4a
1 file changed
+5
-3
@@ -27,10 +27,12 @@ class ImportPlayer
|
|||||||
$update_array[$name] = $row[$offset];
|
$update_array[$name] = $row[$offset];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dd($update_array);
|
||||||
|
|
||||||
StatistikoPlayer::where('sport_id', $row[0])
|
StatistikoPlayer::where('sport_id', $row[0])
|
||||||
->where('match_id', $row[1])
|
->where('match_id', (int) $row[1])
|
||||||
->where('ss_player_id', $row[2])
|
->where('ss_player_id', (int) $row[2])
|
||||||
->where('tm_player_id', $row[3])
|
->where('tm_player_id', (int) $row[3])
|
||||||
->update($update_array, ['upsert' => true]);
|
->update($update_array, ['upsert' => true]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user