Answer the question
In order to leave comments, you need to log in
How to remove duplicate elements from database response?
There is such a request to the database
In $dealershipsIds id array.
The problem is that if several id from this array correspond to a record in the database, then all these records fly in response. How to remove duplicates?
I changed select to distinct and it did not fix the situation. The answer was the same.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question