Skip to content

Commit 263d9e4

Browse files
author
Mark
committed
improved docu
1 parent ba8a234 commit 263d9e4

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
@@ -38,3 +38,5 @@ or return the AQL result as VelocyPack:
3838
});
3939
});
4040
```
41+
42+
**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)