mirror of https://gitee.com/bigwinds/arangodb
Disabled CPP Neighbors for now to please unittests. Output format is changed significantly
This commit is contained in:
parent
a8259af228
commit
b5839064d8
|
@ -6534,9 +6534,11 @@ function AQL_NEIGHBORS (vertexCollection,
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
vertex = TO_ID(vertex, vertexCollection);
|
vertex = TO_ID(vertex, vertexCollection);
|
||||||
|
/*
|
||||||
if (examples === undefined) {
|
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);
|
var edges = AQL_EDGES(edgeCollection, vertex, direction);
|
||||||
return FILTERED_EDGES(edges, vertex, direction, examples);
|
return FILTERED_EDGES(edges, vertex, direction, examples);
|
||||||
|
|
Loading…
Reference in New Issue