Laravel pluck and findOrFail not returning correct row
|Added at||2017-01-02 19:01|
I am using the
If I output
The first column above is the primary key, so as we can see, it should return this row.
However, upon outputting
I would've expected it to return the last result of
Even if I manually type the ID of the row to get:
It still returns all rows.
I'm aware I can use
Which works correctly, but I'm following the Laravel