Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added backwards compatibility mode with older versions of PyMongo.
It appears that older versions would return a dictionary from an aggregate operation that had the cursor inside the "result" key. Newer versions return a new type of cursor called CommandCursor.
- Loading branch information