multi update only works with $ operators


执行更新语句报错:multi update only works with $ operators


multi update only works with $ operators_第1张图片


查看更新语句格式:


multi update only works with $ operators_第2张图片



db.c4.update({name:"user1update"},{name:"1"},true,true);最后一个参数multi多行更新的时候必须使用{$set:”1”}














你可能感兴趣的:(multi update only works with $ operators)