-
Notifications
You must be signed in to change notification settings - Fork 540
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
[feature request] MySQL Optimizer Hints #1320
Comments
Can you create a PR for this? It would be much easier to review. |
@stephenafamo my solution isn't fully baked yet. For example, I haven't considered databases other than MySQL. I wanted to get feedback on the feature and approach before opening a pull request. If you see any issues as is, feel free to leave a comment on the commit. |
Yes, this is an issue because SQLboiler uses the same query builder for all dialects. Personally, I think it is fine. Because it is similar to |
MySQL has support for Optimizer Hints, which implemented with comments that appear between
SELECT
and the column list.For example:
I would like to be able to insert optimizer hints with a query mod, maybe something like this:
The text was updated successfully, but these errors were encountered: