-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-1316 Remove Database.eval and database.SystemJS #542
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
Conversation
doc/migrate-to-pymongo4.rst
Outdated
|
||
>>> result = database.eval('function (x) {return x;}', 3) | ||
|
||
can be changed to this with MongoDB <= 4.0:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should say explicitly that there is no replacement for eval when using MongoDB 4.2+.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not count as a removed feature with no migration path for MongoDB 4.2+? Should we add a line or two addressing this to that section?
I didn't really think it was a good fit for that category because Edit: On second thought you have a good point. I moved the whole section to "Removed features with no migration path". Either way is fine with me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d6eb05b
to
88ca35b
Compare
Depends on #540.