You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tested with both curl & low code platform rest call
arcadeDB web UI however shows correct vertices + edges + records
Steps to reproduce
create a test DB, use the following
sqlscript
CREATE VERTEX TYPE Alert IF NOT EXISTS;
CREATE VERTEX TYPE Asset IF NOT EXISTS;
INSERT into Alert content {description:'some alert'};
INSERT into Asset content {description:'some asset'};
cypher to quickly create edge between the 2 records
MATCH (a:Alert),(b:Asset)
CREATE (a)-[r:ASSOCIATEDWITH]->(b)
query, but change RID
traverse both() from #25:0
terminal curl, change to your db name & root pass
curl -X POST http://localhost:2480/api/v1/query/test2 -d '{ "language": "sql", "command": "traverse both() from #25:0", "serializer":"graph"}' -H "Content-Type: application/json" --user root:whatever
my output from terminal as well as low code REST client, towards the end, edges is empty array
I understand that vertices array contains i and o that are using array index format & it is possible to workaround to "rebuild" edges array, but this is somewhat inconsistent.
The edges array contain edge name that cannot be inferred from vertices array, so it is a problem when we build our custom low code web UI.
How does the arcadeDB webUI fetches both graph & records at one go, is it using the same HTTP/JSON Api or something different?
Cos the output from arcadeDB JSON tab however shows BOTH graph & record
ArcadeDB Version:
Docker image 24.11.2
OS and JDK Version:
Container
Expected behavior
return both non-empty vertices & edges arrays
Actual behavior
vertices populated but edges array empty
Steps to reproduce
create a test DB, use the following
sqlscript
cypher to quickly create edge between the 2 records
query, but change RID
terminal curl, change to your db name & root pass
my output from terminal as well as low code REST client, towards the end,
edges
is empty arrayI understand that vertices array contains
i
ando
that are using array index format & it is possible to workaround to "rebuild" edges array, but this is somewhat inconsistent.How does the arcadeDB webUI fetches both graph & records at one go, is it using the same HTTP/JSON Api or something different?
Cos the output from arcadeDB JSON tab however shows BOTH graph & record
The text was updated successfully, but these errors were encountered: