neo4j/community — Issue #180: Allow underscore as part of an identifier in Cypher
Author: jakewins
Created: 2012-01-13 09:35:53+00:00
State: open
Labels: cypher, feature

Sometimes, to aid readability, it can be helpful to divide an identifier up with underscores. As such, it would be cool if cypher supported underscores as part of an identifier.

I'd like this query to work:

START users = node(2)
MATCH users-[:USER]->(user)-[:KNOWS]->(friend)
RETURN user, collect(friend) as collectfriend