-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 1.8.0-rc1
-
Component/s: JavaScript
-
None
-
Minor Change
-
ALL
>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.