Skip to content

Commit 29c666f

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MP SELECT Descendants.md

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

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

116+
<pre>
116117
| node set | %SELECTOR% |
117118
|-------------|-------------------------------------|
118119
| root nodes | `cats.path IN (tops.path)` |
119120
| descendants | `cats.prefix like tops.path || '%'` |
120121
| subtrees | `cats.path like tops.path || '%'` |
121122
| children | `cats.prefix = tops.path` |
123+
</pre>

0 commit comments

Comments
 (0)