Skip to content

Commit

Permalink
fix hqps query
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 committed Sep 25, 2023
1 parent 83a1785 commit ecb994e
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ public static QueryContext get_simple_match_query_9_test() {

public static QueryContext get_simple_match_query_10_test() {
String query =
"Match (a {name:\"marko\"})-[b]-(c {name: \"lop\"}) Return labels(a) as a, type(b)"
+ " as b";
List<String> expected = Arrays.asList("Record<{a: \"person\", b: \"knows\"}>");
"MATCH( a {id:933})-[b]-(c {id: 2199023256077}) return labels(a) AS"
+ " vertexLabelName, type(b) AS edgeLabelName;";
List<String> expected =
Arrays.asList("Record<{vertexLabelName: \"PERSON\", edgeLabelName: \"KNOWS\"}>");
return new QueryContext(query, expected);
}
}

0 comments on commit ecb994e

Please sign in to comment.