1
0
Fork 0
arangodb/Documentation/Examples/generalGraphModuleAmountPro...

13 lines
408 B
Plaintext

arangosh> var examples = require("org/arangodb/graph-examples/example-graph.js");
arangosh> var graph = examples.loadGraph("routeplanner");
arangosh> graph._countCommonProperties({}, {}, {vertex1CollectionRestriction : 'germanCity',
........> vertex2CollectionRestriction : 'germanCity' ,ignoreProperties: 'population'});
[
{
"germanCity/Cologne" : 1
},
{
"germanCity/Hamburg" : 1
}
]