KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to do something like this, but the this keyword doesn't seem to be set inside the update statement. db.items.update({foo:…}, {$set: {bar: this.foo}}, false, true) Do I have to use eval to accomplish this?
Tags (comma-separated)
Save Edits
Cancel