> db.foo.bar.update({hello:1},{hello:"world"});
(nofile):0 uncaught exception: -6
Invalid Argument
Takes 0.567s.
将hello:world 更新为 hello: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