Support the ongoing development of Laravel.io →
heremiguel

heremiguel

Joined 29 Jan 2015

Statistics

Threads 4
Replies 13
Solutions 1
Articles 0
posted 10 years ago

MySQL Session Variables

Hi everybody! Where is the best place to set the environment variables? DB::statement("SET tmp_...

0 Likes
0 Replies

Another question regarding performance.

I got this query: SELECT (SELECT GenreDescription FROM Genre WHERE GenreId = Reports.ReportGenreId)...

0 Likes
5 Replies

If in statements

Hi everyone, a "simple question" maybe it's not possible... I have this query repeated con...

0 Likes
7 Replies
Solved

Question regarding aggregate in Query Builder

I am querying a table and I wonder why Laravel make a count(*) query before my query that spend addi...

1 Likes
5 Replies
replied 10 years ago

Question regarding aggregate in Query Builder

I was thinking in another solution, would be possible to store the pagination results in "remem...

0 Likes
replied 10 years ago

Question regarding aggregate in Query Builder

Hi, thank you for your help: I made some improvements I removed the join to the User table and creat...

0 Likes
replied 10 years ago

Question regarding aggregate in Query Builder

Yes because the table has 2 additional joins and for any reason this joins are included in the count...

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.