Replies: 2 comments
-
I'm not sure I fully understand what you are trying to achieve, but perhaps storing the user ids in a redis store (or cache)? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Patrick
Thank you for replied my problem.
I think you understood well. I need to build an unique report merging all
the chunks.
I have thought about cache, I was not sure it was a clean solution.
Thanks again.
--
--
Gabriel DESCHILDRE
*03.74.28.28.53*
<https://weezea.com/>
weezea.com
*06.19.11.62.08*
<https://goodies.weezea.com/>
goodies.weezea.com
[image: https://www.linkedin.com/in/gabriel-deschildre-93557683/]
<https://www.linkedin.com/in/gabriel-deschildre-93557683/>
LinkedIn <https://www.linkedin.com/in/gabriel-deschildre-93557683/>
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm currently using chunk imports it's working great
However, i need to merge data between chunks and send them to the AfterImport event.
Eg :
first chunk has : 1000 rows , found 100 users in db
second has 1000 rows , found 152 users in db
how to keep the first 100 users , add the 152 and send it to the AfterImport event ?
tried public $users and used $this->users, but in collection() method it's being reset for each chunk
Thanks a lot for any help or advice
Beta Was this translation helpful? Give feedback.
All reactions