mongodb使用shell插入整数默认是双精度,变成单精度
https://github.com/smallnewer/bugs/issues/11
db.集合名字.update({name:"xxx"},
{
$set:{'is_true':NumberInt(0)}
}
);
https://github.com/smallnewer/bugs/issues/11
db.集合名字.update({name:"xxx"},
{
$set:{'is_true':NumberInt(0)}
}
);