Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

I'm not sure about running multiple queries, but for the query you mentioned above, you may want to look at whereBetween from the docs at:

http://laravel.com/docs/queries#selects

Last updated 2 years ago.
0

thanks for reply, well yeah probably for 'between @a and @b ' I can use whereBetween, but what about set @a = 10/2; set @b = 3/2; ?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

eagle18 eagle18 Joined 17 Mar 2014

Moderators

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.