diff options
| author | handingkang <[email protected]> | 2024-01-17 18:52:24 +0800 |
|---|---|---|
| committer | handingkang <[email protected]> | 2024-01-17 18:52:24 +0800 |
| commit | e0eabcd767df2c408527c382dad3d00fc17a9c4e (patch) | |
| tree | 87fc38428fedaf0ef6e57649eebbc4576f7ca8c5 /script/neo4jcommand.py | |
| parent | ca74b004a038ee33178098a13330c82b30bcc8a7 (diff) | |
同步修改
Diffstat (limited to 'script/neo4jcommand.py')
| -rw-r--r-- | script/neo4jcommand.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/neo4jcommand.py b/script/neo4jcommand.py index 18c90b4..0aa8cdd 100644 --- a/script/neo4jcommand.py +++ b/script/neo4jcommand.py @@ -113,3 +113,8 @@ dualdatacypher = ''' v6count = ''' match (n:NodeResolver53) where n.IPType contains "6" return count(n)''' +delQuery = ''' +CALL apoc.periodic.commit("MATCH (n:NodeResolverQuery) WITH n LIMIT $limit DETACH DELETE n RETURN count(*)",{limit: 10000}) +YIELD updates, executions, runtime, batches +RETURN updates, executions, runtime, batches;''' + |
