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

mysql: support for optimizer hints #162

Closed
mickeyreiss opened this issue Jun 30, 2022 · 2 comments
Closed

mysql: support for optimizer hints #162

mickeyreiss opened this issue Jun 30, 2022 · 2 comments

Comments

@mickeyreiss
Copy link

Is your feature request related to a problem? Please describe.

I would like to generate the following SQL query:

SELECT /*+ MAX_EXECUTION_TIME(1000) */ * FROM orders;

This syntax is defined in the MySQL documentation here.

Describe the solution you'd like

SELECT(Orders.AllColumns).OptimizerHint("MAX_EXECUTION_TIME(100)").FROM(Orders)
@go-jet
Copy link
Owner

go-jet commented Jul 1, 2022

Yeah, it makes sense.

@go-jet go-jet mentioned this issue Sep 30, 2022
@go-jet go-jet added this to the Version 2.9.0 milestone Sep 30, 2022
@go-jet
Copy link
Owner

go-jet commented Sep 30, 2022

MySQL optimizer hints included in v2.9.0 release.

@go-jet go-jet closed this as completed Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants