-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
BUG - QueryBuilder MySQL skip sql is wrong #1099
Comments
can you please create a PR with a test for this issue? |
Okay so answer to this issue is here. You cannot have offset in the mysql without limit applied. And as I remember its not only mysql limitation. So you have to use |
I made a small change - now query runner will throw |
* master: fixing #1055 related issues fixes #1084 fixed #1099 Update working-with-entity-manager.md Update working-with-entity-manager.md version bump driver(sqljs): added missing promises in test pool.connect => pool.getConnection issue #1099 sql generation error with skip condition Added tests for GitHub issue #1055 # Conflicts: # docs/working-with-entity-manager.md # package.json # test/functional/query-builder/insert/query-builder-insert.ts
I set
skip(20)
then generate a wrong sqlError:
The text was updated successfully, but these errors were encountered: