Map properties are not (yet) supported You either
#1 extract your address as separate nodes or #2 add the props individually (e.g. address.city = "London") or #3 serialize the data eg to json if you just want to store and not query it Am 16.03.2014 um 12:13 schrieb Marco Ippolito <[email protected]>: > Hi all, > > I'm using neo4j 2.01 you could please tell me how to make this map literals > work? > > neo4j-sh (?)$ MERGE (n:person {name:'Alice', age:38, address:{city:'London', > residential:true}}) RETURN n; > > MatchError: Map(city -> London, residential -> true) (of class > scala.collection.immutable.Map$Map2) > > Thanks in advance for your kind help. > > Marco > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
