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

14 lines
270 B
Plaintext

arangosh> var graph_module = require("org/arangodb/general-graph");
arangosh> graph_module._undirectedRelation("marriage", ["female", "male"]);
{
"collection" : "marriage",
"from" : [
"female",
"male"
],
"to" : [
"female",
"male"
]
}