Hi, I'm new to Neo4j and I'm currently having trouble in creating a node for nested query ({{}}).
So, firstly i need to import a file then create a node from this file and here is one of the code.
So, i want to have the "details" to become first_name, last_name and age
and for "preferences" to become genres, production_company and production_country
Hopefully you can help me in solving this problem.
Thanks
Welcome to the Neo4j community, Neo4j doesn't allow maps as properties (no sub-properties allowed, basically), and though lists are allowed as properties, they cannot be lists of maps (or lists of lists for that matter).
If you want to have the "details" to become first_name, last_name and age and for "preferences" to become genres, production_company and production_country, you will have to use the UNWIND function. You can find more details here about the UNWIND function.