-
I tried to import users using laravel excel form maatwebsite with implement Withupserts and the uniqeBy() function using 'email', then directly assignRole from that excel but it doesn't assign well. i tried to change using then I change it to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Make a debug |
Beta Was this translation helpful? Give feedback.
-
I got the solution, impement WithUpsert are returning affectd row, so i need to call user back then assign it |
Beta Was this translation helpful? Give feedback.
I got the solution, impement WithUpsert are returning affectd row, so i need to call user back then assign it