需求:查询出满足3人及3案有关系的集合
# -*- coding: utf-8 -*-
from py2neo import Graph
import psycopg2
# 二维数组查找
def find(target, array):
for i, val in enumerate(array):
for j, temp in enumerate(val):
if temp == target:
return True;
return False
graph = Graph(host="192.168.3.186://7474", auth=("neo4j", "wa
1