为什么查询在neo4jshell中工作但在neoclipse中不起作用?

时间:2013-06-06 21:21:24

标签: neo4j cypher neoclipse

QUERY

START t =节点(17) MATCH播放器 - [:PLAYED_WITH_TEAM] - > t - [:CONTESTED_IN] - >联盟 将player.name作为playerName,将league.startDate作为startDate,将league.name作为leagueName ORDER BY startDate RETURN playerName,collect(leagueName);

NeoClipse错误

enter image description here

NeoShell输出

neo4j-sh (0)$ START t=node(17)
> MATCH player-[:PLAYED_WITH_TEAM]->t-[:CONTESTED_IN]->league
> WITH player.name as playerName, league.startDate as startDate, league.name as leagueName
> ORDER BY startDate
> RETURN playerName, collect(leagueName);
+----------------------------------------------------------------------------------------------------------+
| playerName            | collect(leagueName)                                                              |
+----------------------------------------------------------------------------------------------------------+
| "Satish"              | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Aravind Yarram"      | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Vijay Rasale"        | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Abdul Yaser"         | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Selladurai Velusamy" | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Sandeep"             | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Ashish Abraham"      | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
+----------------------------------------------------------------------------------------------------------+

0 个答案:

没有答案