I have the following table setup (just to explain my problem here):
qid | value | created_at
1 1 2014-01-01 00:10
1 2 2014-01-01 00:12
2 231 2014-01-01 00:10
3 hello 2014-01-01 00:10
I would like to get an array with Distinct qids, order by created_at DESC.
So the array should look like (only values for example):
[2, 231, hello]
Do i need a "Raw Query, with Distinct on the qid column" - or is there another way with Laravel5 ORM Methods?