Transitive closure not allowed

The chaining operators (+ and *) can only be applied to proper binary predicates. In particular, they cannot be applied to primitive tests like matches that do not bind their arguments to values.

Example error

from string x
where x.matches+("abc") and x="def"
select x

The .QL engine cannot compute the solution to a query such as this, because in the recursive chaining of matches, the values are not being constrained.

Comments
Only registered users can write comments!
 
< Prev   Next >