Eliminate duplicate in an array


For context, i am getting data from an API, i have a list of article and a storage place associate with every article. So one storage can be associate with multiple article.

My final goal is to have a list of unique storage place.

I have all the storage place in an array i want to transform it to an array with unique value.

i achieve my goal with a loop, but it’s so slow to run it.

Maybe there is a other solution

Thanks for the feedback

@Faustin, this is a great question. I don’t have a suggestion off of the top of my head for this, and we don’t have unique values filter for our GET table endpoints. I’m going to check around and see if we haven’t figured out a more elegant way to do this internally, and I’ll report back if I find anything.