Support the ongoing development of Laravel.io →

danhardman

Joined 29 Jul 2014

Statistics

Threads 2
Replies 1
Solutions 0
Articles 0
posted 10 years ago

Retrieve Relationship Properties

I want to assign a post to an author, then when I display the post, I want to display it's author wi...

0 Likes
5 Replies
posted 10 years ago

Adding Foreign Key Constraint for Char() Data Type

I'm using migrate to add foreign key constraints to my tables and I want to link two columns that ar...

0 Likes
0 Replies
replied 10 years ago

Retrieve Relationship Properties

d33k4y said: Did you try with brackets? $post->author() I don't know the exact difference, but...

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.