Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Support newer as well as older PyMongo versions #487

Merged
merged 1 commit into from Jul 14, 2015
Merged

Fix: Support newer as well as older PyMongo versions #487

merged 1 commit into from Jul 14, 2015

Conversation

erans
Copy link
Contributor

@erans erans commented Jul 14, 2015

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.

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.
arikfr added a commit that referenced this pull request Jul 14, 2015
Fix: Support newer as well as older PyMongo versions
@arikfr arikfr merged commit 5636cec into getredash:master Jul 14, 2015
dairyo pushed a commit to KiiCorp/redash that referenced this pull request Mar 1, 2019
Fix: Support newer as well as older PyMongo versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants