jtomek opened a new issue, #1714:
URL: https://github.com/apache/age/issues/1714

   Hi, how do I run this?
   ```sql
   SELECT * FROM cypher('playground', $$
   MATCH (n:Movie|Person)
   RETURN n
   $$) AS (v agtype)
   ```
   
   I get 
   
   ```markdown
   Query 1 ERROR at Line 31: : ERROR:  syntax error at or near "|"
   LINE 2: MATCH (n:Movie|Person)
                         ^
   ```
   
   Is this the only way to get what I want?
   
   ```sql
   SELECT * FROM cypher('playground', $$
   MATCH (n)
   WHERE label(n) = 'Movie' or label(n) = 'Person'
   RETURN n
   $$) AS (v agtype)
   ```sql


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to