-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] array_foreach expression function - add counter variable #54962
Conversation
Good idea. |
Co-authored-by: Björn <[email protected]>
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@pathmapper A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
@pathmapper |
Original motivation is here to combine values from multiple array fields after OGR GML import for label expressions, e.g.
array_foreach( "field_1", @element || ' ' || "field_2"[@counter] )
but there are other use cases for sure.
Test added and function help updated.