Two different data models.

One stores one relationship per actor and movie pairs and encodes all roles 
into a string array property. roles:["Neo", ... ]
The other stores one relationship per character, so it has a single string role 
property. role:"Neo"


Am 12.01.2014 um 20:12 schrieb José F. Morales <[email protected]>:

> !) CREATE (Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrix)    <--- source is 
> the v.2 server code for movies
> 
> 2) CREATE (keanu)-[:ACTS_IN { role : 'Neo' }]->(matrix1)                      
>             <--- source is the v.2 manual code for movies p.28
> 
> I am not getting the significance of the [] when defining the relationship 
> properties.   
> 
> Thanks,
> Jose
> 
> -- 
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to