-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
Hey - is there any way to configure the driver to fail (throw exception) when a warning was generated by ArangoDB? When i print_r the cursor object, i have this in there:
[data:ArangoDBClient\Cursor:private] => Array
(
[result] => Array
(
)
[hasMore] =>
[count] => 0
[cached] =>
[extra] => Array
(
[stats] => Array
(
[writesExecuted] => 0
[writesIgnored] => 0
[scannedFull] => 0
[scannedIndex] => 8
[filtered] => 4
[httpRequests] => 0
[executionTime] => 0.00053644180297852
)
[warnings] => Array
(
[0] => Array
(
[code] => 1563
[message] => in function 'INTERSECTION()': array expected
)
)
)
[error] =>
[code] => 201
)
Current behavior: no exception thrown
Desired behavior: exception thrown
Is this a configuration option that i can't see in the docs or is there some other way i can achieve this behavior?
Cheers
Metadata
Metadata
Assignees
Labels
No labels