Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.12.0
-
None
Description
Currently the DBCollection.aggregate(final List<DBObject> pipeline) method which returns an AggregationOutput will throw an IllegalArgumentException to clients.
I would instead expect the command result to be checked with CommandResult.throwOnError() as is done for the other overloaded aggregate methods returning a DBCursor.
Attachments
Issue Links
- is duplicated by
-
JAVA-1458 Aggregation problem with Enterprise version
-
- Closed
-