Support the ongoing development of Laravel.io →

HectorCodefilo

Joined 9 Nov 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

hasManyThroughrelationship return wrong SQL sentence

I would like to get some data for tables that dont have a directly relation. The context is the foll...

0 Likes
5 Replies
replied 9 years ago

hasManyThroughrelationship return wrong SQL sentence

gabidavila said: Question, why are you linking book_id in the authors table? Since an author can...

0 Likes
replied 9 years ago

hasManyThroughrelationship return wrong SQL sentence

Question, why are you linking book_id in the authors table? Since an author can have N books? Yes,...

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.