Search for threads and articles
Quickly access threads and articles by running a global search.
No results found
We couldn’t find anything with that term. Please try again.
Hi,
Use DB:raw like this: DB::table( DB::raw('TABLENAME FORCE INDEX (PRIMARY)') )
Replace TABLENAME with your table And PRIMARY in case you want to force another index.
Cheers.
Sign in to participate in this thread!
Your banner here too?
We'd like to thank these amazing companies for supporting us
Your logo here?
The Laravel portal for problem solving, knowledge sharing and community building.