Support the ongoing development of Laravel.io →
kpzani

kpzani

Joined 21 Mar 2014

Statistics

Threads 2
Replies 14
Solutions 3
Articles 0

Model with calculated sql field doesnt paginate

Hi All. I can't get the paginator to work with a calculated SQL field see below for example // this...

0 Likes
3 Replies
Solved

Shared variables best practice

I have a complex product setup on a shop, so the users basket includes a lot of info cached from the...

0 Likes
3 Replies
replied 11 years ago

Model with calculated sql field doesnt paginate

Well my solution doesnt actually fix it properly cutting off the bindings breaks the WHERE criteria...

0 Likes
replied 11 years ago

Model with calculated sql field doesnt paginate

It seems the bindings are screwing up the aggregate query which is used when paginating. so solution...

0 Likes
Solved
replied 11 years ago

Creating queries that use tables from more than one database

I've done this, not sure if its the only way but i'm currently doing something like this - note i've...

0 Likes
replied 11 years ago

Shared variables best practice

thanks for the responses guys. At the moment 90% of my requests touch a view or access the basket i...

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.