diff options
Diffstat (limited to 'doc/src/snippets/patternist/letOrderBy.xq')
-rw-r--r-- | doc/src/snippets/patternist/letOrderBy.xq | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/letOrderBy.xq b/doc/src/snippets/patternist/letOrderBy.xq new file mode 100644 index 0000000000..f4106d2807 --- /dev/null +++ b/doc/src/snippets/patternist/letOrderBy.xq @@ -0,0 +1,4 @@ +for $a in (8, -4, 2) +let $b := ($a * -1, $a) +order by $a +return $b |