Skip to content

Commit

Permalink
add cypher result interface
Browse files Browse the repository at this point in the history
  • Loading branch information
lipanpan03 committed Jun 6, 2024
1 parent 6aa7019 commit 0b53cb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void importDataFromContent(Logger log, TuGraphDbRpcClient client, boolean
JSONObject jsonObject = jsonArray.getJSONObject(0);
assert (jsonObject.containsKey("COUNT(n)"));
assert (jsonObject.getIntValue("COUNT(n)") == 13);
res = client.callCypher("MATCH (n) RETURN COUNT(n)", "default", 10, false);
res = client.callCypher("MATCH (n) RETURN n,n.name limit 3", "default", 10, false);
log.info("MATCH (n) RETURN COUNT(n) : " + res);
}

Expand Down

0 comments on commit 0b53cb7

Please sign in to comment.