Support the ongoing development of Laravel.io →

nickvleeuwen

Joined 16 Apr 2014

Statistics

Threads 3
Replies 5
Solutions 1
Articles 0

Eloquent does not alias tables in a self join relationship

I have an parent->child relationship where a confirmed column in the pivot table exists. Both the...

0 Likes
3 Replies

Three-way pivot table with Eloquent

Hi everyone, Intro I' m building a web application where users can be in zero, one or more teams. Ev...

0 Likes
6 Replies
Solved

eageer loaded->eager loaded model not in the object.

Hello everyone, In my database I have two tables: Users and Notes An User has many notes and every n...

0 Likes
4 Replies
Solved
replied 9 years ago

Eloquent does not alias tables in a self join relationship

Edit seems bugged, so im gonna write the edit here: Eloquent is referencing parent_user in the sub-q...

0 Likes
replied 10 years ago

Three-way pivot table with Eloquent

thanks for the reply, think this should work. Will look into it tonight :)

0 Likes
replied 10 years ago

Three-way pivot table with Eloquent

Hi Ekaitzastiz, Thnx for your reaction, I know that my code is wrong, that's what im telling in my p...

0 Likes
replied 10 years ago

eageer loaded->eager loaded model not in the object.

I found the problem. I named the column for the creator: 'creator' instead of 'creator_id'. The func...

0 Likes
Solved
replied 10 years ago

eageer loaded->eager loaded model not in the object.

jarektkaczyk said: What you mean by 'Im not able...' ? Im getting 'Trying to get property of non-o...

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.