Skip to content

Commit 8dec6ae

Browse files
author
Mark
committed
improved docu
1 parent 76f6359 commit 8dec6ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/aql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ or return the AQL result as VelocyPack:
3939
System.out.println(obj.get("name").getAsString());
4040
}
4141
```
42+
43+
**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 commit comments

Comments
 (0)