Von meinem iPhone gesendet

> Am 08.11.2014 um 12:12 schrieb 'Curtis Mosters' via Neo4j 
> <[email protected]>:
> 
> So I just would like to know if this is possible.
> 
> Let's say we have Person that WROTE Text. So now I would like for Person.name 
> = "Ralf" to create a property "wroteSize. That size is the current amount a 
> Text for a specific Person.

Use an aggregation to sum all text sizes

Dont forget the colon before WROTE
> 
> 
> MATCH (x:Person)-[:WROTE]->(y:Text)
> WHERE x.name = "Ralf"
With x, sum(y.size) as written
> Set x.wroteSize = written
> 
> That query is just in my mind. So would that be possible?
> 
> 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].
> 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.

Reply via email to