Laravel Eloquent Tutorial - Get only the fields (aka columns) we need from relation.
Laravel is a great framework to work with, and I use it every day for my 9-5 job. One of the greatest power of Laravel is, it has an ORM (Object Relational Mapping) as default called Eloquent.
I am not going to talk about what is Eloquent ORM, but I ...
codewitholgun.com2 min read
Favour Okunowo
Nice article. Tried this but I kept on getting the field name as the value.
Something like "firstname" => "'firstname'"