Add FORCE INDEX with drupal query builder

2019-08-24 00:06发布

问题:

I am developing a website using Drupal 7. I was using a query with the help of function db_query. But now I am planning to restructure it and use the db_select format.

But at one portion, I am using a

FORCE INDEX()

to force the use a particular index to overcome a drawback of old MySql version.

Is there any way to add this force index with the join() in db_select?