Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-21-2022 10:20 AM
I have used following query for identifying duplicities
MATCH (p:Case)
WITH p.name as name, collect(p) AS nodes
WHERE size(nodes) > 1
WITH nodes ORDER BY size(nodes) DESC
LIMIT 1
UNWIND nodes AS n
RETURN n.name, id(n) AS internalId, size((n)--()) AS rels
ORDER BY rels DESC
Query run correctly in the past, but now is not possible to use size((n)--()) ...rest of the query is fine.
Could somebody advice me why and how to use it correctly now ?
Kind Regards
Vaclav
Solved! Go to Solution.
12-21-2022 11:14 AM
Are you using 5.x? If so, use this instead.
count{(n)--()}
From the 5.0 release notes:
https://neo4j.com/release-notes/database/neo4j-5/
12-21-2022 11:14 AM
Are you using 5.x? If so, use this instead.
count{(n)--()}
From the 5.0 release notes:
https://neo4j.com/release-notes/database/neo4j-5/
All the sessions of the conference are now available online