I have built an query that returns an array of vertex objects:
{
"@@vertexList.get(iter)": "199560432HS16020191121050400",
"@@vertexList.get(iter+1)": "199560432HS00020191119181300"
}
etc…
When I try and insert an edge between those two with:
INSERT INTO NEXT VALUES (@@vertexList.get(iter), @@vertexList.get(iter+1));
I get an error:
(22, 2) Error: Edge NEXT’s valid FROM vertex types don’t cover all vertex types, so a universal vertex type expression cannot be used here.
Is there some way I should be declaring the edge type in the insert syntax?
Thanks.
Frank