Skip to content

Commit

Permalink
improved docu
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark committed Oct 28, 2016
1 parent 76f6359 commit 8dec6ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/aql.md
Expand Up @@ -39,3 +39,5 @@ or return the AQL result as VelocyPack:
System.out.println(obj.get("name").getAsString());
}
```

**Note**: The parameter `type` in `query()` has to match the result of the query, otherwise you get an VPackParserException. E.g. you set `type` to `BaseDocument` or a POJO and the query result is an array or simple type, you get an VPackParserException caused by VPackValueTypeException: Expecting type OBJECT.

0 comments on commit 8dec6ae

Please sign in to comment.