You can use `pluck` directly on Eloquent *classes* — no need to query the instances first

You can use `pluck` directly on Eloquent *classes* — no need to query the instances first

Calling pluck directly on a model is the most performant way to retrieve a single column from all models in Laravel. Calling get/all before pluck will read all models into memory before plucking the value.

We're writing a book, you can get it for free here.