Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEclipse
languagepql
titleSort Operator
linenumberstrue
relation = ELEMENTWINDOW({SLIDE = 5, SIZE=5},  input)

/// Sort the stream by the attribute value id.
output = SORT({
                  attributes = ['id']
                 }, relation)

/// Sort the stream by the attribute id in ascending order.
output = SORT({
                 attributes = ['id'], 
                 ascending = ['true']
                }, relation)