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

Another question regarding performance.

I have used "take" + "get" instead "paginate" and getting similar exec...

0 Likes
replied 10 years ago

If in statements

Thank you very much kokokurak. Really helpful!

0 Likes
replied 10 years ago

If in statements

What happened if there are 2 consecutive "where"

0 Likes
replied 10 years ago

If in statements

Thank you, the reason to cast it's to detect an integer and query only the id fields. Thank you for...

0 Likes
replied 10 years ago

If in statements

Found the answer thank you! $query = DB::table('Reports'); if ($published == true) $query->w...

0 Likes
Solved

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.