Skip to content

Commit

Permalink
fix cypher result
Browse files Browse the repository at this point in the history
  • Loading branch information
lipanpan03 committed Jun 6, 2024
1 parent 0b53cb7 commit f2e3253
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ 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 n,n.name limit 3", "default", 10, false);
log.info("MATCH (n) RETURN COUNT(n) : " + res);
res = client.callCypher("MATCH (n) RETURN n,n.name LIMIT 3", "default", 10, false);
log.info("MATCH (n) RETURN n,n.name LIMIT 3 : " + res);
}

static void importSchemaFromFile(Logger log, TuGraphDbRpcClient client, boolean isHa) throws Exception {
Expand Down

0 comments on commit f2e3253

Please sign in to comment.