noahxzhu commented on issue #1705:
URL: https://github.com/apache/age/issues/1705#issuecomment-2041074897
> have you tried escaping the single quotes by doubling the single quotes
like; MERGE (n2:`Entity` {id: 'It''s better for technology companies to be run
by product people'}) which will tell your parser to treat the single quote in
your string as part of the string
> […](#)
> On Sat, Apr 6, 2024 at 3:10 PM Noah Zhu ***@***.***> wrote: Hi @M-Bostone
<https://github.com/M-Bostone> For sure, I'm encountering some problem with age
that the behavior is little different with the Neo4j in some specific case,
I've already created a issue for this #1722 <#1722> I'd appreciate some help.
Also I want to contribute to this project, but I need to learn more in advance.
— Reply to this email directly, view it on GitHub <[#1705
(comment)](https://github.com/apache/age/issues/1705#issuecomment-2041065431)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFO2YCEMHQXK6WMEXQ25LTTY37Q2HAVCNFSM6AAAAABE4GDGHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGA3DKNBTGE>
. You are receiving this because you were mentioned.Message ID: ***@***.***>
> -- men
I'm using the docker image which is provided on the github README.md for
some testing.
I do can put the completed query and add like backslash, use double quotes
to wrap the string if the string contains single quotes or use single quotes to
wrap the string if the string contains double quotes. But most of my time, I
need to parameterize the queries that looks buggy, especially with the python
driver.
And for now the problem from my side is all the strings are from some
documents, that means I need to process the string in advance to put it as the
parameters into the query, but that doesn't work for now. There's no this kinds
of problems when I use the Neo4j.
Also I can't create a vertex with a label contain single quotes which works
in Neo4j.
--
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]