问题
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?
来源:https://stackoverflow.com/questions/52215360/add-force-index-with-drupal-query-builder