Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-03-2022 05:59 PM
05-04-2022 12:10 AM
Hello @mail2michaelennis
Please don't post topics on both platform.
I'm pretty sure the \
come from the JSON.stringify()
function.
You should follow the documentation to retrieve correctly the data, you don't need to convert it as JSON. More documentation here.
Regards,
Cobra
05-04-2022 09:22 AM
I am afraid your response is not helpful ...pointing me to entire docs is really a pitiful response...I will take your point about posting on both platform...I was unaware they are linked.
05-05-2022 12:51 AM
Well, know that the people who help here do their best and take time to help you get on the right track. Also, I'm not going to mess around with copying and pasting the examples from the documentation, that's why I just put a link.
On the second link I sent you, there are some examples to properly consume the data from the driver.
05-05-2022 02:34 AM
apoc.create.uuid()
doesn't add a tab (\t
) at the start as far as I'm aware. I have just tried locally and on Aura and I get a string without any padding.
return apoc.create.uuid() // "b158188d-5f0a-4726-9f63-b27a7ef6cb72"
Did you generate these UUIDs elsewhere? Have you somehow imported the IDs into the database? What version of Neo4j and APOC are you using?
You can update the values in Neo4j with a Cypher query, for example:
MATCH (r:Race)
WHERE r.race_id STARTS WITH "\t"
SET r.race_id = trim(r.race_id)
05-05-2022 03:50 AM
Hi Adam....I am not sure where the tab was generated....but that seems to be the problem. The UUIDs were generated in the Neo4j Browser (desktop) version 4.4.5 with apoc.create.uuid(). Thanks for the suggested fix.
All the sessions of the conference are now available online