MongoDB删除表中数据
db.getCollection(“product_test”).find()db.getCollection(“product_test”).remove({phone : “15700000000”})删除phone字段为15700000000的所有值
·
db.getCollection(“product_test”).find()
db.getCollection(“product_test”).remove({phone : “15700000000”})
删除phone字段为15700000000的所有值
更多推荐
已为社区贡献4条内容
所有评论(0)