jet icon indicating copy to clipboard operation
jet copied to clipboard

mysql: support for optimizer hints

Open mickeyreiss opened this issue 3 years ago • 1 comments

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)

mickeyreiss avatar Jun 30 '22 02:06 mickeyreiss

Yeah, it makes sense.

go-jet avatar Jul 01 '22 12:07 go-jet

MySQL optimizer hints included in v2.9.0 release.

go-jet avatar Sep 30 '22 12:09 go-jet