Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Calling setHint() on the Query #965

Open
epedder opened this issue Mar 4, 2021 · 0 comments
Open

Calling setHint() on the Query #965

epedder opened this issue Mar 4, 2021 · 0 comments

Comments

@epedder
Copy link

epedder commented Mar 4, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant