Add FORCE INDEX with drupal query builder

时光毁灭记忆、已成空白 提交于 2019-12-11 16:03:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!