init some functionaliies

This commit is contained in:
2025-04-01 23:20:22 +02:00
parent 4e9301a0e2
commit 600f51ed1f
3 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1 @@
package memgraph

View File

@@ -1,4 +1,4 @@
MATCH (n:Person)-[p:Parent*1..]->(family:Person)
WHERE id(n) = $id
OPTIONAL MATCH (family)-[c:Child*1..]->(children:Person)
RETURN family, p, children, c, n
OPTIONAL MATCH (family)-[c:Child*1..4]->(children:Person)
RETURN collect(family) + collect(children) + collect(n), collect(c) + collect(p)

View File

@@ -0,0 +1 @@
package memgraph