-
( Looks like Github does not have a delete discussion option. Realized the answer after posting the Question. So converting it to a self Q&A) Hi Just realized that I missed a bracket after the disjunction |. But the one in the tweet would work only with the bracket. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That's right, this form works as well. If you don't put any parenthesis then it's interpreted as
Which is still a correct definition of ancestry. Even though maybe not very intuitive :-)
Note that the depth of ancestry as a function of the number of recursive steps grows linearly in this rule and exponentially in the rule from the tweet. So if your tree is deep, but is manageable then the query from the tweet is preferred. On the other hand if you want only a small limited depth of ancestry then the rule as defined above as preferred. |
Beta Was this translation helpful? Give feedback.
That's right, this form works as well. If you don't put any parenthesis then it's interpreted as
Which is still a correct definition of ancestry. Even though maybe not very intuitive :-)
It's more intuitive with parenthesis
Note that the depth of ancestry as a function of the number of recursive steps grows linearly in this rule and exponentially in the rule from the tweet. So if your tree is deep, but is manageable then the query from the tweet is preferred. On the other hand if you …