Created
August 18, 2019 12:36
-
-
Save vladbatushkov/6fdbf9d3b465cfa72010a87dad073219 to your computer and use it in GitHub Desktop.
Set city population
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (c:City)<-[:FROM]-(p:Person) | |
WITH c, count(p) as pop | |
SET c.population = pop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment