Expected behavior
Aggregation query has a cursor option introduced in version 2.6 that is mandatory since version 3.6. This option allows to retrieve large results (BSON >16 MB) in batches.
Actual behavior
Unfortunately Poco::MongoDB::Cursor can't be used on the aggregation query since the cursor ID is returned in the response document and not on the wire protocol.
Steps to reproduce the problem
(please make this a SSCCE, if applicable and reasonable)
Try to use Cursor::query() to construct aggregation query.
POCO version
develop
Compiler and version
gcc 7.3
Operating system and version
Ubuntu 18.04
Other relevant information