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

Calling setHint() on the Query #965

@epedder

Description

@epedder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions