Support the ongoing development of Laravel.io →

nikospkrk

Joined 13 Mar 2014

Statistics

Threads 4
Replies 5
Solutions 0
Articles 0

Define relationships of a pivot table with more than 2 foreign keys

I cannot get my head on how to define the tables relationships when using a pivot table having more...

0 Likes
5 Replies

Very long “Router Dispatch” event in Clockwork on localhost server

I'm developing an app locally but I'm experiencing very poor performance. When tracking it down with...

0 Likes
0 Replies

Static call to a facade function from another

Hi, It looks like I cannot access a custom facade via a static call from another custom facade : Er...

0 Likes
1 Replies

How to cache specific related model info?

Hi, Let's say a User belongsTo a Language, and to make it simple here's the controller (no repo) : $...

0 Likes
6 Replies
replied 10 years ago

Define relationships of a pivot table with more than 2 foreign keys

First of all, thanks for your lenghtly reply! Secondly, I gave up on this and I just used the first...

0 Likes
replied 10 years ago

Define relationships of a pivot table with more than 2 foreign keys

Although I moved onto something else at that time, I really do need to make this working now; has an...

0 Likes
replied 10 years ago

How to cache specific related model info?

I should be using eager loading indeed, instead of making a request on each iteration in the loop, I...

0 Likes
replied 10 years ago

How to cache specific related model info?

I get your idea, and that will surely work but I'm looking for a cleaner solution. I don't want to h...

0 Likes
replied 10 years ago

How to cache specific related model info?

Thanks for your reply @gafitescu but actually I do not want to cache all the users info, but just av...

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.