noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040327490
> > Another question, should this work as it in Neo4j? > > ``` > > SELECT * from ag_catalog.cypher('graph_store', $$ > > MERGE (n1:`TEST`{id: 'a\'bb'}) > > MERGE (n2:`TEST`{id: 'bb \'s abc'}) > > MERGE (n1)-[:`ABC_I'S_a`]->(n2) > > $$) as (a ag_catalog.agtype); > > ``` > > I'm not sure I understand what you are asking. Also, keep in mind that you will likely need to backslash all non wrapping quote characters. I mean, that query works in Neo4j, but I tried it in pg, it doesn't work. Can a label include quotes? ``` SELECT * from cypher('graph_store', $$ MERGE (n1:`TEST`{id: 'a\'bb'}) MERGE (n2:`TEST`{id: 'bb \'s abc'}) MERGE (n1)-[:`ABC_IS\'_a`]->(n2) $$) as (a agtype); ``` -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org