I have a graph consisting of 3 document collections and 2 edge collections. I want to perform filtering from one doc collection but need to show the result from all three doc collections.
Graph: AssetWorkTime
Documents Collection: assetnew (consists name of asset), timenew (consists the start date of renovation), and Work (consists type of renovation)
Edge Collection: AssetRenoTimeNew (Connecting assetnew and timenew) and WorkTimeNew (Connecting timenew and Work)
FOR c IN timenew
FILTER c.startdate>="2020-01-01"
FOR v, e, p IN 1..1 outbound c GRAPH 'AssetWorkTime'
RETURN {AssetName:v.AssetName, Date:c.startdate, RenoJob:v.WorkName}
This is the query that I have done. I want to know which assets have gone through renovation after 1/1/2020 and what type of renovation that has been done.
I've gone through the documentation and other questions in stackoverflow but couldn't find a way to get this. Thanks!