Support the ongoing development of Laravel.io →

unska

Joined 14 Jun 2016

Statistics

Threads 1
Replies 0
Solutions 0
Articles 0

Laravel hasMany() + where() returns where conditions in opposite order

Using the following: return $this->hasMany(Text::class, 'item_id')->where('item_type', 'produc...

0 Likes
1 Replies

unska has not posted any replies yet

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.