Hi Team,
I am struggling to get the working syntax for nested queries or recursive queries. I searched a lot but none of them are working queries. Kindly help me to get the syntax
I have both the query, I am not able to put both queries as an inner query
Query 1:
g.V().hasLabel('Texas').outE('feature of')
O/P:
[
{
"id": "5b3e7178-5a06-4afc-8c25-54f2a91a117e",
"label": "feature of",
"type": "edge",
"inVLabel": "xyz",
"outVLabel": "abc",
"inV": "111",
"outV": "2222",
"properties": {
"weight": "75.625",
"test": "test"
}
}
]
Query 2:
g.V().has('id','5235h-j3h5k3-j3gj23').emit().repeat(inE('child
of').outV())
So basically, in the 2nd query, I need to pass the "id" of the 1st query.
Regards,
Sumit