Support the ongoing development of Laravel.io →

mruoss

Joined 8 Apr 2014

Statistics

Threads 1
Replies 5
Solutions 0
Articles 0

has() on a hasOne()-relationship to the same table

Consider the following setup (and let's not discuss wether it makes sense as it's only an example)....

0 Likes
5 Replies
Solved
replied 9 years ago

Translation library/packages for Laravel lang files

Check out our module https://github.com/ufirstgroup/laravel-lang-import-export. It lets you export t...

0 Likes
replied 10 years ago

has() on a hasOne()-relationship to the same table

Thank you very much, jarektkaczyk, for your workaround. I had to print the resulting query to unders...

0 Likes
replied 10 years ago

has() on a hasOne()-relationship to the same table

Thanks for your help, zenry. Your code would return "people that have wives with no husbands&qu...

0 Likes
replied 10 years ago
0 Likes
replied 10 years ago

Create unique alphanumeric random string in "id" column

I'm using UUIDs as primary keys for all my models. Have a look at this: http://garrettstjohn.com/ent...

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.