Add edge between two documents in ArangoDB -


it should easy operation can't find how achieve this. have 2 documents different collections , want link them using new edge existing collection. i'm trying use edge-collection.save function this: edge-collection.save(for s in sy filter s._key=403560128,for in im filter i._key=353031872, points) doesn't work. how can this?

edge-collection.save() not expect aql statements trying insert. expecting raw _id attributes , and thir parameter json object containing additional data edge. store edge described in example can execute following command:

edge-collection.save("sy/403560128", "im/353031872", points); ^^^^^ ^^^^^ ^^^^ sourceid targetid json


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -