1
我试过以下查询在密码。Neo4j - 发生无效的查询错误
START other=node(*)
WHERE other.FirstName =~ "(?i)dh.*" AND other.UserID <> 1
WITH other, me=node:node_auto_index(UserID = '1')
MATCH me-[myR:friends]-(x)
RETURN other.UserID, other.UserName, other.FirstName, other.LastName, other.ImagePath
// myR.ApprovalStatus, COUNT(distinct pMutualFriends) AS mutualFriends
//ORDER BY mutualFriends DESC
LIMIT 100;
但它给了我错误。
These columns can't be listen in the WITH statement without renaming: me=node
那么,这个查询有什么问题?
谢谢@ wes-freeman,请看看我的另一个问题。链接:http://stackoverflow.com/questions/17917884/join-result-set/17933098?noredirect=1#17933098 –