【问题详细描述】
> db.foo.bar.update({hello:1},{hello:"world"});
(nofile):0 uncaught exception: -6
Invalid Argument
Takes 0.567s.
【解决办法】
1、为参数配置错误,未设置更新符
db.foo.bar.update({$set:{hello:1}},{hello:"world"});
详情描述请参考:
http://www.sequoiadb.com/cn/index.php?a=index&m=Files&cat_id=1432190847&edition_id=0
【参考链接】
错误码
常见错误处理指南