Support the ongoing development of Laravel.io →
arcollector

arcollector

Joined 2 Mar 2014

Statistics

Threads 0
Replies 80
Solutions 11
Articles 0

arcollector has not posted any threads yet

replied 11 years ago

Search through relationships

there is not way that you get duplicated records Post::join( 'tags', 'tags.post_id', '=', 'posts.id'...

0 Likes
replied 11 years ago

as I can construct the following sql statement

maybe there are no records matching that query, try it with mysql command line select * from `users`...

0 Likes
replied 11 years ago

as I can construct the following sql statement

check if the column names are the correct ones in the query also, call to dd( DB::getQueryLog() ) to...

0 Likes
replied 11 years ago

Nested query in FROM

dunno, but if you are using too much db raw, consider directly writing your sql query using DB::stat...

0 Likes
replied 11 years ago

as I can construct the following sql statement

User::leftJoin( 'installs', 'installs.user_id', '=', 'users.id' ) ->where( 'installs.station_...

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.