In full disclosure, I don't know anything about this. But I am interested to know how to do this. Looking at the code, perhaps the chunk itself should be converted to an array?
MyModel::insert($chunk->toArray()); //insert chunked data
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us