在使用python操作neo4j的时候,如果查询的数据比较多,结构比较复杂的时候,返回的数据量会比较大,而且信息比较多,并且不唯一.所以写了该方法,用于查询比较复杂的数据. def query_graph(query): graph = get_graph() data = graph.run(query).data() node_ids = [] new_nodes = [] new_links = [] for a in data: for tk,tv in a.items(): nodes
public SortedDictionary<string, string> GetRequestPost() { int i = 0; SortedDictionary<string, string> sArray = new SortedDictionary<string, string>(); NameValueCollection coll = Request.Form; String[] requestItem = coll.AllKeys; for (i