Add health check cypher query
This commit is contained in:
6
docs/queries/health_check.cypher
Normal file
6
docs/queries/health_check.cypher
Normal file
@@ -0,0 +1,6 @@
|
||||
// Аналіз активності по контурах життя за останні 30 днів
|
||||
MATCH (u:User {id: 'iN0mad'})-[:MANAGES]->(d:LifeDomain)
|
||||
OPTIONAL MATCH (d)<-[:REFERS_TO]-(log:DailyLog)
|
||||
WHERE log.date > date() - duration('P30D')
|
||||
RETURN d.name AS Domain, count(log) AS Checkins
|
||||
ORDER BY Checkins DESC
|
||||
BIN
plugins/apoc-5.26.0-core.jar
Normal file
BIN
plugins/apoc-5.26.0-core.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user