memgraph/cypher/query/read/with/match-with-where.cypher

2 lines
124 B
Plaintext

MATCH (user)-[:FRIEND]-(friend) WHERE user.name = {name} WITH user, count(friend) AS friends WHERE friends > 10 RETURN user