DatatablesBundle
DatatablesBundle copied to clipboard
Calling setHint() on the Query
I need to force MySQL to use a specific index. I understand the best approach is to use output walkers (specifically SqlWalker) but I don't know where to capture the $query produced by the QueryBuilder so that I can call $query->setHint(). What is the best way to do this?