Question about aql query #382
-
Hi, does aql queries support Nested if-else statements ? I can't seem to find it on acceleo documentation |
Beta Was this translation helpful? Give feedback.
Answered by
lredor
Apr 26, 2024
Replies: 1 comment 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK sorry I misunderstood.
It is not documented, but it seems to be OK. For example, if you put the bellow expression in the Interpreter view, you can see that it will be OK.
aql:if self.name.startsWith('a') then if self.name.startsWith('ab') then 'Start With ab' else 'Start With a' endif else 'Not start with a' endif