Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function for optimizer hint queries? #30

Open
ArtskydJ opened this issue Jul 5, 2024 · 0 comments
Open

Add a function for optimizer hint queries? #30

ArtskydJ opened this issue Jul 5, 2024 · 0 comments

Comments

@ArtskydJ
Copy link

ArtskydJ commented Jul 5, 2024

https://dev.mysql.com/doc/refman/8.0/en/optimizer-hints.html

Add a function for optimizer hint queries?

I don't think I can do query.select('/*+ INDEX(table_alias foreign_key) */') or it would add a comma after it.

What API do you like for this? For now I'm probably doing a find/replace in my own code.

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

No branches or pull requests

1 participant