I think it's better to not use mixed type lists. Also you cannot use maps right now as property values.
What is "r" ? > Am 04.11.2015 um 18:53 schrieb bebbio <[email protected]>: > > Hi, > > I have a test query > > UNWIND [['[email protected]', {auth:true}]] as key_role > WITH key_role > ... > SET r = key_role[1] > > and it returns > "Type mismatch: expected Map, Node or Relationship but was Any" > > If I RETURN key_role[1] instead, the response contains a row like this: > { > "auth": true > } > > > Is anyone able to say what I did wrong? > Thanks! > > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <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.
