You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
My cypher query is
START root=node(1) MATCH root-[r*..3]->tag return collect(tag)as tags, collect(r)as rels
adding ORDER BY at the end cause syntax error:
ORDER BY tag.name
what is solution to order data when collecting?
terrasoff
unread,
Oct 2, 2012, 5:33:40 AM10/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Note, query above is faster than
START root=node(1) MATCH root-[r*..3]->tag
returntag,r
sure, in this case ORDER isn't problem
Peter Neubauer
unread,
Oct 2, 2012, 4:07:17 PM10/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ne...@googlegroups.com
Mmh,
good question. I think COLLECT does not make any guarantees about
ordering, it is an unordered collection. What is your us case? Why not
in that case return TAG, and order by TAG.name?