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

Collapse OR nodes into IN #59440

Merged

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Nov 13, 2024

Fixes #43992 but also implements
an optimization of OR chained nodes
by turning them into IN conditions
when possible.

On behalf of: Faunalia

Fixes qgis#43992 but also implements
an optimization of OR chained nodes
by turning them into IN conditions
when possible.

On behalf of: Faunalia
@elpaso elpaso added Expressions Related to the QGIS expression engine or specific expression functions Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Nov 13, 2024
@github-actions github-actions bot added this to the 3.42.0 milestone Nov 13, 2024
Copy link

github-actions bot commented Nov 13, 2024

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 72e215b)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 72e215b)

src/core/expression/qgsexpressionnodeimpl.cpp Outdated Show resolved Hide resolved
src/core/expression/qgsexpressionnodeimpl.cpp Show resolved Hide resolved
src/core/expression/qgsexpressionnodeimpl.cpp Show resolved Hide resolved
src/core/expression/qgsexpressionnodeimpl.cpp Show resolved Hide resolved
src/core/expression/qgsexpressionnodeimpl.cpp Show resolved Hide resolved
src/core/expression/qgsexpressionnodeimpl.cpp Outdated Show resolved Hide resolved
src/gui/qgsrelationeditorwidget.cpp Show resolved Hide resolved
src/gui/qgsrelationeditorwidget.h Outdated Show resolved Hide resolved
@troopa81 troopa81 merged commit 643a7a2 into qgis:master Nov 14, 2024
30 checks passed
@elpaso elpaso deleted the bugfix-gh43992-sqlite-expression-collapse branch November 14, 2024 14:04
@elpaso
Copy link
Contributor Author

elpaso commented Nov 14, 2024

@troopa81 thank you for your review and suggestions, much appreciated!

elpaso added a commit to elpaso/QGIS that referenced this pull request Nov 14, 2024
Manual and partial backport of qgis#59440

Limited to the changeset that fixes qgis#43992, the other changes
are optimizations that are not suitable for backports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Expressions Related to the QGIS expression engine or specific expression functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

>89 m:n relations in widget wont show/update
2 participants