Replies: 1 comment
-
Ids are incremented by your database driver. Besides the pdo get last inserted id, there's no easy way to standardize getting all inserted ids. I d advise linking your records with a import id. That way you have some way of knowing where the records came from. There also is an AfterBatch event, perhaps you could just checking which records where inserted after the previous batch there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to get the model ids of all the bulk inserted models when importing to model? it seems like there are a lot of reasons you might want this and I was surprised how difficult it is to do this. I still haven't figured out how yet
Beta Was this translation helpful? Give feedback.
All reactions