I'm a little bit puzzled to understand how my query is interpreted by ArangoDB and why simple filtering does not work as expected. Here is my query:
FOR v, e, p in 3 OUTBOUND "company/jquery" company_teams, team_contributors, committed
OPTIONS {uniqueVertices: "global", bfs: true}
FILTER p.vertices[1]._key == "1055031914"
FILTER length(p.vertices[2].parents) < 2
RETURN v._id
This query returns an empty result. However, if I leave just one filter (no matter which one), I do get result. From this I conclude that this is not a data related issue, means it's either me misunderstanding how query is executed or something else.
Thoughts, ideas?
RETURN pin the last line, what result do you get? - CodeManXFOR v, e, p in 3 OUTBOUND "company/jquery" company_teams, team_contributors, committed OPTIONS {uniqueVertices: "global", bfs: true} //FILTER p.vertices[1]._key == "1055031914" FILTER length(p.vertices[2].parents) < 2 RETURN p- Ivan NaumenkoFOR v, e, p in 3 OUTBOUND "company/jquery" company_teams, team_contributors, committed OPTIONS {uniqueVertices: "global", bfs: true} FILTER p.vertices[1]._key == "1055031914" //FILTER length(p.vertices[2].parents) < 2 RETURN p@CoDEman, you have some thought on that? - Ivan Naumenko