cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

query relation is very slow

I only have 70 nodes and 100 relationships, when I use a statement to query, if I don't use a limit statement to limit, the web page will crash and the value cannot be queried; this is my query statement:

match (n:table)<-[r*1..100]->(b:table) where n.databaseId = '4077368525247741952' return n,b,
2 REPLIES 2

Hello @HeJiaLe 😀

What are you trying to achieve?

Regards,
Cobra

I want to find all the nodes that are related to some nodes, so the traversal level I set is 100, is there a problem with the way I write this statement, thank you