Menu

#12 Order By not supporting multiple order by specs

open
nobody
None
3
2004-02-25
2004-02-20
No

According to XQuery 1.0, "order by" is followed by an
OrderSpecList, which is a comma separated list of
OrderSpec's, but XQEngine doesn't support this.

If you try the following query in the SampleApp:

for $b in $books//book
order by $b/title,
$b/price descending empty least
return $b

You get an InvalidQueryException. This query was taken
from the XQuery 1.0 document (I removed the "stable"
since XQEngine didn't like that either)

Discussion

  • Howard Katz

    Howard Katz - 2004-02-25
    • priority: 5 --> 3
     
  • Howard Katz

    Howard Katz - 2004-02-25

    Logged In: YES
    user_id=134704

    It'll be a while before I get to this since there are a number to
    to-do items with higher priority.

     

Log in to post a comment.

MongoDB Logo MongoDB