Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make the pluck method accept an arbitrary number of params #4776
I just discovered the new pluck method, I think it could be usefull to add an overloaded version of this method that will accept an arbitrary number of fields, so one can make something like:
I know this would break consistency because the actual version returns an array of strings and this overloaded version would return an array of arrays, but I still think this would be very usefull.
While I am here maybe it would be nice to modify even the select method, I know one can do: