Most of queries have a given node as a seed as a parameter like
CREATE QUERY friends(VERTEX seed) FOR GRAPH MyGraph {
Seed = {seed}
Nodes = SELECT t FROM Seed:s-(friend)-person:t
PRINT Nodes
}
but I have a bunch of queries that have a predetermined seed but I cannot get rid of the parameter. How would you move the seed to the inner body of the query definition? Things I’ve tried
Seed = { “thePersonId” }
and
VERTEX seed = “thePersonId”;
Seed = {seed};
to no avail. What would be the right way to move the seed to the inner body of the query?