On further inspection I suspect this is a bug. The query:
FOR v, e IN 1..3 OUTBOUND 'persons/eve' GRAPH 'knows_graph' RETURN {v:v, e:
e}
errors the java driver with a null pointer, whether I use a Map or
BaseDocument
The equivalent query:
FOR v, e IN 1..3 OUTBOUND 'persons/eve' GRAPH 'knows_graph' RETURN {v:
{"_key": v._key, "_id": v._id, "_rev": v._rev, "name": v.name}, e: {"_key":
e._key, "_id": e._id, "_rev": e._rev, "_from":e._from, "_to":e. _to}}
works for both types.
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.