feat: add array_duplicate_by() helper to get duplicate array by column#8436
feat: add array_duplicate_by() helper to get duplicate array by column#8436ddevsr wants to merge 3 commits into
array_duplicate_by() helper to get duplicate array by column#8436Conversation
|
I wonder about the overall usefulness of this helper method... I'm not entirely convinced, but if others see potential in it, I won't be opposed. |
|
I wonder too. Can you show use cases? |
|
@michalsn @kenjis I have real cases in my project Used for upload batch by excel, I made this so that when uploading This result can be show to alert, when creating like |
|
@ddevsr I do not doubt that you have a use case for this, but I'm not sure if this is such a common problem to add it to the framework. |
c790683 to
1b65477
Compare
0ed7b56 to
39d2131
Compare
array_duplicate_by() helper to get duplicate array by column
|
I posted in the forum. |
|
There are more people who disagree. We would encourage people to use libraries over adding functions to the framework core - especially Helpers since they aren’t easily extensible, replaceable, or portable. |
Description
Add
array_duplicate_byfunction to get duplicate array by column.Checklist: