Java driver adding edges

21 views
Skip to first unread message

Rob Gratz

unread,
Feb 14, 2020, 2:12:23 PM2/14/20
to ArangoDB

In the java driver documentation, all of the edge manipulation examples reference "key" when describing the from/to endpoints.  I tried using the _key value, assuming that is what "key" meant when setting up an edge but would always get an error about the edge attribute(s) not being correct.  I tried using the _id value in the edge definition and that worked.  So, is the documentation incorrectly referencing "key" instead of "id" or is the java driver not behaving correctly?

Michele Rastelli

unread,
Feb 15, 2020, 1:22:42 PM2/15/20
to ArangoDB
It is actually an error in the documentation, you should actually use the "id" in such cases.
Thanks for spotting it!
Reply all
Reply to author
Forward
0 new messages