noahxzhu commented on issue #1722:
URL: https://github.com/apache/age/issues/1722#issuecomment-2040348479
The behavior in the python driver
NOT WORK
```
prepared_statement = """
MERGE (n1:`TEST` {id: 'a\'bb'})
MERGE (n2:`TEST` {id: 'bb\'s abc'})
MERGE (n1)-[:`ABC_IS_a`]->(n2)
"""
ag.execCypher(
prepared_statement,
)
```
WORK
```
prepared_statement = """
MERGE (n1:`TEST` {id: "a'bb"})
MERGE (n2:`TEST` {id: "bb's abc"})
MERGE (n1)-[:`ABC_IS_a`]->(n2)
"""
ag.execCypher(
prepared_statement,
)
```
NOT WORK
```
prepared_statement = """
MERGE (n1:`TEST` {id: 'a"bb'})
MERGE (n2:`TEST` {id: 'bb"s abc'})
MERGE (n1)-[:`ABC_IS_a`]->(n2)
"""
ag.execCypher(
prepared_statement,
)
```
NOT WORK
```
prepared_statement = """
MERGE (n1:`TEST` {id: 'a\"bb'})
MERGE (n2:`TEST` {id: 'bb\"s abc'})
MERGE (n1)-[:`ABC_IS_a`]->(n2)
"""
ag.execCypher(
prepared_statement,
)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]