I wrote a query to report all the edges of a set of input vertices:
CREATE QUERY get_edges(SET<VERTEX> inVertices) FOR GRAPH MyGraph {
start = {inVertices};
ListAccum<edge> @@edgeList;
tmp = SELECT other FROM start - (:e) - :other
ACCUM @@edgeList += e;
print @@edgeList;
}
This works for inputs up to 10 input vertices. If I add any more, I get an error back like below:
The input parameter inVertices.type = ‘’ is not a valid vertex type in graph ‘MyGraph’
Am I doing something wrong or is this a limitation of gsql query parameters?