Closed andreshg112 closed 5 years ago
Sorry, my bad! I had to add device_id to fillable. :sweat_smile:
thank you
I have similar code of @andreshg112 trying to updateOrcreate but I had an error which says... Illegal offset type. What might be the cause please
Prerequisites
Versions
Description
How can I use updateOrCreate() inside collection()?
Additional Information
device_id and license_plate are unique keys, and If I try to upload the same file many times, I don't want an error appearing. The code above is not working. I'm getting the error below.
PD: This link is not working https://laravel-excel.maatwebsite.nl/docs/3.1/getting-started/contributing