1
0
Fork 0
This commit is contained in:
Wilfried Goesgens 2016-01-22 13:42:03 +01:00
parent 9beeb09f37
commit 7e2e1b2082
1 changed files with 5 additions and 5 deletions

View File

@ -863,11 +863,11 @@ function ahuacatlQueryGeneralEdgesTestSuite() {
vertexCollectionRestriction: [v1, v3]
}
};
AQL_NEIGHBORS1 =
"FOR edgeDoc in @@eCol " +
" LET thisVertex = DOCUMENT(edgeDoc._to) " +
" LET vertices = (FOR v IN GRAPH_NEIGHBORS(@name, @example, @options) RETURN v) " +
" FOR oneVertex IN vertices RETURN {hugo: thisVertex.hugo, neighborVertex: oneVertex}"
var AQL_NEIGHBORS1 =
"FOR edgeDoc in @@eCol " +
" LET thisVertex = DOCUMENT(edgeDoc._to) " +
" LET vertices = (FOR v IN GRAPH_NEIGHBORS(@name, @example, @options) RETURN v) " +
" FOR oneVertex IN vertices RETURN {hugo: thisVertex.hugo, neighborVertex: oneVertex}";
var actual = getRawQueryResults(AQL_NEIGHBORS1, bindVars);
assertEqual(actual.length, 4);