Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用Cypher,我试图返回最高分的节点。但是,它要么只是将没有任何 id 的分数返回给节点,我需要在查询中添加什么?
Cypher
start n=node(*) WHERE HAS(n.score) return MAX(n.score);
这个解决方案应该给你分数和节点。
start n=node(*) WHERE HAS(n.score) RETURN n, n.score ORDER BY n.score LIMIT 1