Laravel this is not only a practical framework, it is also a programming style
Is it possible to get only de values for an Eloquent query.
For example:
$data =Model::where('status', 1)->get();
it returns key - value object, what I want is get only the values.
Aucun commentaire:
Enregistrer un commentaire