Replies: 1 comment 2 replies
-
Not really, the point of batch inserts is too limit the amount of queries and memory. You could still try and emit the event, but I don't think that will work. So the only alternative would be to insert the activity log entry within the batch. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Batch Insert and Spatie Activity log cannot work together.
I have about 8432 records to upload in excel and I also want to log the records inserted.
Is there anyway to overcome this issue as batch insert is not a eloquent create method and so Spatie Activity Log cannot log it?
Beta Was this translation helpful? Give feedback.
All reactions