Syntactic issues about cypher:[(p1)-[:CO_AUTHOR_EARLY]-(a) | id(a)]

I am reading a book called Graph Algorithms. What does the symbol “|”in the red box mean?


It means ‘do’. For every match before the pipe do the thing after the pipe.

3 Likes

Thank you so much ! Cypher syntax is a bit interesting,right? hahahahaha :laughing: :laughing: