Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-18-2019 10:05 AM
Hello ... how to save data like this in neo4j
CREATE(o:Order)
SET o.value="{"landingPage":"langingPage"}"
return o
it gives me always error
Solved! Go to Solution.
01-18-2019 10:15 AM
It looks like you're attempting to set this as a JSON string, note that you're using quotes wrong here. You need to either escape your inner quotes, or use different kinds of quotes to make this work (single quotes on the outside of the string, double-quotes within the string, or vice versa).
You can try this:
CREATE(o:Order)
SET o.value='{"landingPage":"langingPage"}'
return o
01-18-2019 10:15 AM
It looks like you're attempting to set this as a JSON string, note that you're using quotes wrong here. You need to either escape your inner quotes, or use different kinds of quotes to make this work (single quotes on the outside of the string, double-quotes within the string, or vice versa).
You can try this:
CREATE(o:Order)
SET o.value='{"landingPage":"langingPage"}'
return o
01-18-2019 10:18 AM
Many thx bro!!! Works very good. Thank you.
All the sessions of the conference are now available online