laravelBatch
laravelBatch copied to clipboard
Batch::update without index
trafficstars
Hi, I have massive data from external API, and to avoid duplicates, I need to use update instead of insert.SO the idea is to insert the data if it does not exist and update it instead if exists. My question is, is it possible without using an index?
Regards
You can use the 'upsert'.