Join GitHub today
Pluck not working for explicit column names #1619
added a commit
Sep 14, 2016
yeah, true. I now tried that out how does it actually work. Looks like pluck() indeed has been intended to combine .select() on db server side and then plucking that selected id from result
It seems to work just as expected, but yeah it really doesn't support
yes you are right, I wanted the values of a computed column.
the table is like
The query should give me all canonical question ids available in my language.
I first tried .pluck('id') but it did not use the alias, but selected a new column.