我正在使用 Mongo shell。我已将我的 EDITOR 设置为我的记事本++ 路径。我创建了一个对象,然后使用 EDIT 命令使用 notepad++ 编辑对象,但它不会更新对象。
// mongo shell
var pow = { name: "teest" };
edit pow
// notepad++ opens a document called 'mongo_edit141225123.js' that resides
// in C:\users\...\Appdata\local\temp
// I edit the object, save and close notepad++
pow // object isn't updated :(
我错过了什么?