diff options
Diffstat (limited to 'script/neo4jcommand.py')
| -rw-r--r-- | script/neo4jcommand.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/neo4jcommand.py b/script/neo4jcommand.py index e825d26..c46e750 100644 --- a/script/neo4jcommand.py +++ b/script/neo4jcommand.py @@ -41,7 +41,7 @@ dualcountcypher = ''' CALL gds.wcc.stream('myGraph') YIELD nodeId,componentId with componentId as cid,count(*) as c - where 1<c<5 + where 1<c<4 with collect(cid) as cc CALL gds.wcc.stream('myGraph') YIELD nodeId,componentId @@ -55,7 +55,7 @@ dualdatacypher = ''' CALL gds.wcc.stream('myGraph') YIELD nodeId,componentId with componentId as cid,count(*) as c - where 1<c<5 + where 1<c<4 with collect(cid) as cc CALL gds.wcc.stream('myGraph') YIELD nodeId,componentId @@ -67,8 +67,8 @@ dualdatacypher = ''' YIELD nodeId,componentId where componentId in ccl with gds.util.asNode(nodeId) as n,componentId - return n.IP,n.ISP,n.COU,n.CCODE,n.PROV,n.LAT,n.LNG,componentId limit 30 - order by componentId + return n.IP,n.ISP,n.COU,n.CCODE,n.PROV,n.LAT,n.LNG,componentId + order by componentId limit 30 ''' # v6dns计数 |
