Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
1.8.0-rc1
-
None
-
Minor Change
-
ALL
Description
>db.test1.save({_id:1})
>f = function() {db.test1.update({_id:1}, {_id:2, other:true})}
>db.eval(f)
null
>f()
cannot change _id ....
It seems like the dbeval case should return a doc with the error.