Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-09-2021 03:13 PM
I get the following error when trying to create properties
create (basketball{parts_of_speech:noun,shape:sphere})
ERROR Neo.ClientError.Statement.SyntaxError
Variable noun
not defined (line 1, column 36 (offset: 35)) "create (basketball{parts_of_speech:noun,shape:sphere})
Please keep the following things in mind:
Please format code + Cypher statements with the code </>
icon, it's much easier to read.
Please provide the following information if you ran into a more serious issue:
PROFILE
or EXPLAIN
with boxes expanded (lower right corner)Solved! Go to Solution.
04-09-2021 03:15 PM
Try this:
create (basketball{parts_of_speech: "noun", shape: "sphere"})
04-09-2021 03:15 PM
Try this:
create (basketball{parts_of_speech: "noun", shape: "sphere"})
04-09-2021 04:09 PM
Thanks, that works. The tutorial I'm following doesn't say the properties should be in quotes.
04-09-2021 04:44 PM
If you are importing from a .csv file or from defined variables then property value = variable. If you are manually inserting property values then all values must be enclosed in "".
04-09-2021 05:03 PM
Thanks again. That is good, and I guess important to know.
All the sessions of the conference are now available online