Skip to content

Commit 7d58e81

Browse files
committed
Update MP SELECT Descendants.md
1 parent 29c666f commit 7d58e81

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

MP SELECT Descendants.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,10 @@ SELECT * FROM records ORDER BY path;
113113

114114
in which %SELECTOR% should be replaced according to the following table
115115

116-
<pre>
117-
| node set | %SELECTOR% |
118-
|-------------|-------------------------------------|
119-
| root nodes | `cats.path IN (tops.path)` |
120-
| descendants | `cats.prefix like tops.path || '%'` |
121-
| subtrees | `cats.path like tops.path || '%'` |
122-
| children | `cats.prefix = tops.path` |
123-
</pre>
116+
117+
| node set | %SELECTOR% |
118+
|-------------|-------------------------------------------------|
119+
| root nodes | <pre>cats.path IN (tops.path)</pre> |
120+
| descendants | <pre>cats.prefix like tops.path \|\| '%'</pre> |
121+
| subtrees | <pre>cats.path like tops.path \|\| '%'</pre> |
122+
| children | <pre>cats.prefix = tops.path</pre> |

0 commit comments

Comments
 (0)