1
0
Fork 0
arangodb/Documentation/Examples/graph-edge-properties

9 lines
131 B
Plaintext

arango> v = g.addVertex(1);
Vertex(1)
arango> e = g.addEdge(v, v, 2, "knows");
Edge(2)
arango> e.properties();
{ "weight" : 10 }