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

orm/core: do not add "missing" select to query starting with "with" #699

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zocker1999NET
Copy link

  • WTIH … SELECT is a valid query (at least for MariaDB, see CTE)
  • as I know, SELECT WITH … is always invalid, hence adding SELECT does not improve anything
  • btw: removed duplicated definition of select_re in same file

other is in line 407 and potentially better
- "WTIH … SELECT" is a valid query (at least for MariaDB, see CTE)
- as I know, "SELECT WITH …" is always invalid, hence adding SELECT does
  not improve anything
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

Successfully merging this pull request may close these issues.

None yet

1 participant