1
0
Fork 0

Disabled CPP Neighbors for now to please unittests. Output format is changed significantly

This commit is contained in:
Michael Hackstein 2015-05-19 15:51:05 -07:00
parent a8259af228
commit b5839064d8
1 changed files with 3 additions and 1 deletions

View File

@ -6534,9 +6534,11 @@ function AQL_NEIGHBORS (vertexCollection,
'use strict';
vertex = TO_ID(vertex, vertexCollection);
/*
if (examples === undefined) {
return CPP_NEIGHBORS(vertexCollection, edgeCollection, vertex, {direction: direction});
return [CPP_NEIGHBORS(vertexCollection, edgeCollection, vertex, {direction: direction})];
}
*/
var edges = AQL_EDGES(edgeCollection, vertex, direction);
return FILTERED_EDGES(edges, vertex, direction, examples);