Support the ongoing development of Laravel.io →

liorgithub

Joined 31 May 2014

Statistics

Threads 4
Replies 1
Solutions 0
Articles 0

Is it possible to do ->union with ->paginate?

When i try to do union with paginate i get this error: Cardinality violation: 1222 The used SELECT s...

0 Likes
0 Replies
posted 10 years ago

How to customize Pagination url in laravel 4 ?

I am trying to change the URL to make it SEO friendly. i was able to go all the way to the Presenter...

0 Likes
1 Replies

Join query returns same/dublicate rows

This is my query: $items = User::join('table_1', 'users.id', '=', 'table_1.user_id') ->join(...

0 Likes
0 Replies

How to pull data from 2 tables that associate to 1 table?

I have users table that is associate to 2 other tables: posts, videos. And i want to pull all the da...

0 Likes
1 Replies
replied 10 years ago

How to pull data from 2 tables that associate to 1 table?

anyone? maybe i should do raw query and avoid ORM ?

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.