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

38 lines
930 B
Plaintext

arangosh> var examples = require("org/arangodb/graph-examples/example-graph.js");
arangosh> var graph = examples.loadGraph("social");
arangosh> graph._edges().toArray();
[
{
"_id" : "relation/aliceAndBob",
"_key" : "aliceAndBob",
"_rev" : "1385034635",
"_from" : "female/alice",
"_to" : "male/bob",
"type" : "married"
},
{
"_id" : "relation/aliceAndCharly",
"_key" : "aliceAndCharly",
"_rev" : "1385296779",
"_from" : "female/alice",
"_to" : "male/charly",
"type" : "friend"
},
{
"_id" : "relation/bobAndDiana",
"_key" : "bobAndDiana",
"_rev" : "1385689995",
"_from" : "male/bob",
"_to" : "female/diana",
"type" : "friend"
},
{
"_id" : "relation/charlyAndDiana",
"_key" : "charlyAndDiana",
"_rev" : "1385493387",
"_from" : "male/charly",
"_to" : "female/diana",
"type" : "married"
}
]