I do not know how to select rows that agent_key is unique. I used groupBy and distinct to do this, but I did not succeed.
This is my table:
I do not know how to select rows that agent_key is unique. I used groupBy and distinct to do this, but I did not succeed.
This is my table:
YourModal::get()->unique('agent_key');