db.getCollection('表名').ensureIndex({"字段名":0})
mongodb 添加索引
最新推荐文章于 2024-06-12 16:45:19 发布
db.getCollection('表名').ensureIndex({"字段名":0})