Support the ongoing development of Laravel.io →

Kyrst

Joined 9 Feb 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Loosing relationship when doing ->select(...)

Hi, I have two tables that look something like this: # Author # ID Name Slug 1 Denni...

0 Likes
3 Replies
replied 10 years ago

Loosing relationship when doing ->select(...)

Yes, my models look something like this: class Author extends Eloquent { public function books() {...

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.

© 2024 Laravel.io - All rights reserved.