Since table rows are probably the most likely 'bulk' results operation, this branch gives the option to replace the results value with a \MongoDB\Driver\Cursor object, rather than an array. The returned documents are identical to the previous behavior.
Also added is an option to suppress getting counts: with the cursor, it's not as necessary to do paging, so doing a count is an unnecessary performance hit.
Since table rows are probably the most likely 'bulk' results operation, this branch gives the option to replace the
results
value with a\MongoDB\Driver\Cursor
object, rather than an array. The returned documents are identical to the previous behavior.Also added is an option to suppress getting counts: with the cursor, it's not as necessary to do paging, so doing a count is an unnecessary performance hit.