[DRIVERS-138] Support parallelCollectionScan command Created: 03/Feb/14 Updated: 27/May/22 Resolved: 11/Nov/15 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Trivial - P5 |
| Reporter: | Jeffrey Yemin | Assignee: | Barrie Segal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 2.5, 2.6 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Add a parallelScan helper. It should take one parameter, the number of cursors to return (the numCursors value for the parallelCollectionScan command). It returns an array / list / etc. of command cursor instances, one for each cursor returned by the command. Python implementation and tests here: https://github.com/mongodb/mongo-python-driver/commit/940d73f672227dd1d5a183ffd223fe0a428d68fc parallel_collection_scan renamed to parallel_scan here: https://github.com/mongodb/mongo-python-driver/commit/26139557ebea83eaae8267ac351fc1a89e513f31 |