Skip to content

Commit 0e7bc5b

Browse files
committed
PYTHON-1316 There is no replacement for eval with MongoDB 4.2+
1 parent c382ca8 commit 0e7bc5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/migrate-to-pymongo4.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ can be changed to this with MongoDB <= 4.0::
6969
>>> from bson.code import Code
7070
>>> result = database.command('eval', Code('function (x) {return x;}'), args=[3]).get('retval')
7171

72+
There is no replacement for eval with MongoDB 4.2+.
73+
7274
Removed features with no migration path
7375
---------------------------------------

0 commit comments

Comments
 (0)