One follow up question: I'm finding that with the Map option I also get a 
exception if the query has more than one document returned, e.g.:

FOR v, e IN 1..3 OUTBOUND 'persons/eve' GRAPH 'knows_graph' RETURN {v: v, e: e}

Trying to load the result of this query as a Map causes the following exception:

Caused by: com.arangodb.ArangoDBException: 
com.arangodb.velocypack.exception.VPackParserException: 
java.lang.NullPointerException
        at 
com.arangodb.internal.ArangoExecutor.deserialize(ArangoExecutor.java:139)
        at 
com.arangodb.internal.ArangoCursorIterator.next(ArangoCursorIterator.java:67)

Is this expected behaviour, do maps onlly work for single documents?

-- 
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.

Reply via email to