-- ============================================================ -- Cypher match 查询测试 -- ============================================================ match (n:test_graph) return n.g_name, n.g_type, n.g_value /** onerror(continue,'unsupport single node') output() **/ ; match (n:test_graph) where n.g_value > 25 return n.g_name, n.g_type, n.g_value /** onerror(continue) output() **/ ; match (n:test_graph) where n.g_type='type_a' and n.g_value>=10 return n.g_name, n.g_type, n.g_value /** onerror(continue) output() **/ ; match (a:test_graph) -[:connect]-> (b:test_graph) return a, b /** output() **/ ; match (a:test_graph where a.g_name='node_a') -[:connect]-> (b:test_graph) return a, b /** onerror(continue) output() **/ ; match (n:test_graph) where n.g_name='node_e' return n.g_name, n.g_type, n.g_value /** onerror(continue) output() **/ ; match (n:test_graph) return n.g_name, n.g_value /** onerror(continue) output() **/ ;