-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Allow arithmetic expressions within IN operator #9242
Merged
beberlei
merged 6 commits into
doctrine:2.11.x
from
webda2l:arithmetic-in-expression-fix
Dec 27, 2021
Merged
Allow arithmetic expressions within IN operator #9242
beberlei
merged 6 commits into
doctrine:2.11.x
from
webda2l:arithmetic-in-expression-fix
Dec 27, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Would it be possible to add a functional test for this feature? I'd feel better if we actually executed the generated query on a real database. |
Sure, functional tests added. But maybe in failure because not ran in local, I'll see with the CI |
You should be able to run the SQLite tests locally though. |
webda2l
force-pushed
the
arithmetic-in-expression-fix
branch
from
December 15, 2021 19:40
1f7aa62
to
e1bda97
Compare
After rebase, local tests with sqlite are ok.
|
derrabus
approved these changes
Dec 21, 2021
derrabus
changed the title
Allow arithmetic expressions within IN operator (#6476 continue)
Allow arithmetic expressions within IN operator
Dec 21, 2021
beberlei
approved these changes
Dec 27, 2021
Thanks to the Doctrine team likewise! |
derrabus
added a commit
to derrabus/orm
that referenced
this pull request
Dec 28, 2021
* 2.11.x: Fix return type (doctrine#9295) Synchronize Psalm baseline (doctrine#9296) Fix union type on QueryExpressionVisitorTest::testWalkComparison() (doctrine#9294) Allow arithmetic expressions within IN operator (doctrine#9242) Bump reusable workflows
derrabus
added a commit
to derrabus/orm
that referenced
this pull request
Dec 28, 2021
* 2.11.x: Leverage get_debug_type() (doctrine#9297) Fix return type (doctrine#9295) Synchronize Psalm baseline (doctrine#9296) Fix union type on QueryExpressionVisitorTest::testWalkComparison() (doctrine#9294) Allow arithmetic expressions within IN operator (doctrine#9242) Bump reusable workflows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace and close #6476