0
我無法弄清楚如何在neo4j客戶端中使用密碼linq返回函數在return子句中放置過濾器。如何在.net中執行密碼查詢的return子句中的過濾器Neo4jClient
我試圖做這樣的查詢:
START Parents = node:app_fulltext('name:"City"'),
MATCH Parents-[?:ChildOf]-Apps
WITH collect(Apps.Title) as myapps, collect(Parents.Name) as myparents
RETURN myapps, filter(x in parents : not x in myapps) as myfilteredparents
我試着開始了帶有條款這樣
.With("collect(Apps.Title) as myapps, collect(Parents.Name) as myparents")
.Return("myapps, filter(x in parents : not x in myapps) as myfilteredparents")
,但我不能在一個字符串傳遞給返回方法,如果我嘗試將某種過濾器傳入LINQ lambda中,則會出現The return expression that you have provided uses methods other than those defined by ICypherResultItem.
錯誤。
對不起,在我的問題中複製並粘貼錯誤,我在代碼中有權使用子句,但As部分指出我朝着正確的方向 –
MonkeyBonkey