讓我們說我們有一個對象抽獎: class Draw {
private int num1, num2, num3;
public Draw (int num1, int num2, int num3) {
this.num1 = num1;
this.num2 = num2;
this.num3 = num3;
}
public int getNum1(
考慮,看起來像這樣的圖表: (node) -> (related nodes)
a1 -> [b1, b2, b3]
a2 -> [b1]
a3 -> []
我想回到擴展與鄰國的列表中的所有節點。我現在查詢是以下 MATCH (x0:A)
MATCH (x1:B)
WHERE ((x0)-[:B]->(x1))
WITH x0,collect(x1) as x2
WITH x0,