lundi 1 octobre 2018

Returning array of user id from eloquent model

I want to get all ids of users from my users table. Is there an eloquent way to do it? I have done it using a for loop but I wish to know if there is an laravel way to do it.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire