filmov
tv
Pluck Function in Laravel | Collection | Pluck | Laravel | php

Показать описание
Pluck Function in Laravel | Collection | Pluck | Laravel 8 Eloquent pluck() method helps us to extract certain values into 1 dimension array. It shortens our code if we want only to get the specific field values into 1 dimension array so that we don't need to loop the result collection to get certain values using this method.