Support the ongoing development of Laravel.io →
jarektkaczyk

jarektkaczyk

Joined 25 Mar 2014

Statistics

Threads 5
Replies 242
Solutions 55
Articles 0

super Easy Global Scope definition

If you ever created complex global scope constraint, you must have faced a challenge with defining r...

0 Likes
0 Replies

How to search eloquent models with relations

Pretty much every app needs decent search engine. Nowadays specialized engines like ElasticSearch ar...

0 Likes
3 Replies

Eloquence - a must have package for eloquent

Do you use Eloquent in your apps? It's simply fun to work with, right? I think the same, but after s...

0 Likes
3 Replies

Easy db revisions with Sofa/Revisionable

I want to introduce nice and useful package for DB revisions. It works out of the box with Eloquent...

0 Likes
3 Replies
0 Likes
1 Replies
replied 11 years ago

Eager Load Constraints Bug or am I doing somehing wrong? Laravel 4.2

@shabushabu not entirely true: @l4zl0w To get what you wanted, do as shabu said. But still you can u...

0 Likes
Solved
replied 11 years ago

Aggregated count grouped by dates(days)

You need to use this for setting sql variable: DB::statement(DB::raw('set @sum=0')); Then goes your...

0 Likes
Solved
replied 11 years ago

Problem selecting colums using Eager Loading

Your code will work for this kind of relation but you need to select also all foreign keys to let El...

0 Likes
replied 11 years ago

How to evaluate pagination links

You can't do that with eager loading. In fact you have not succeeded to paginate the comments, you o...

0 Likes
replied 11 years ago

Relation HasOne with two Index

You need to swap the keys on the belongsToMany relation definition, but in fact, this is not the rel...

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.

© 2026 Laravel.io - All rights reserved.