How to ignore empty evaluations in string concat? #15785
-
Suppose you have:
both predicates return strings, though if one doesn't (predicate2 for instance), the entire row won't be output. codeql won't tell you this in output either as far as im aware of. how can i avoid this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
just for clarification: how can i output the row despite a missing column? |
Beta Was this translation helpful? Give feedback.
-
Three ways spring to mind:
The way to think about it is that |
Beta Was this translation helpful? Give feedback.
Three ways spring to mind:
The way to think about it is that
predicate2
doesn't hold for some values ofdata
. In general a predicate can have multiple value…