We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 5.3
$collection = $this->repos->lists('xxx', 'xx')->toArray();
Outputs:
BadMethodCallException in Builder.php line 2448: Call to undefined method Illuminate\Database\Query\Builder::lists()
This method is depracted since 5.2 https://laravel.com/api/5.2/Illuminate/Database/Query/Builder.html
lists(string $column, string|null $key = null) deprecated Alias for the "pluck" method.
It has been replaced by pluck
pluck
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Laravel 5.3
Outputs:
This method is depracted since 5.2
https://laravel.com/api/5.2/Illuminate/Database/Query/Builder.html
It has been replaced by
pluck
The text was updated successfully, but these errors were encountered: