Support the ongoing development of Laravel.io →
asivaneswaran

asivaneswaran

Joined 11 Jul 2014

Statistics

Threads 7
Replies 7
Solutions 0
Articles 0

DB::select and raw not returning model instances?

Hi guys, So I am trying to run this complicated SQL query: $eastern_standings = DB::select(DB::ra...

0 Likes
1 Replies
Solved

Create model urls

Hi guys, I was wondering if it was possible to do a method in the model to get the url of the model?...

0 Likes
3 Replies
replied 11 years ago

Call to a member function getFullName() on a non-object

Of course... How did I miss that. Thanks,

0 Likes
replied 11 years ago

Related model method

Any ideas why?

0 Likes
replied 11 years ago

Related model method

Hi the relationship works, as a matter of fact, when I just pritn this: $player->team it shows th...

0 Likes
replied 11 years ago

Related model method

Hi, Pretty sure there is a result... I just ran a test query for a player that is sure to have a tea...

0 Likes
replied 11 years ago

Related model method

Hi eriktisme, I get the following error: Call to a member function getLogo() on a non-object Could i...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.