记得上下班打卡 | git大法好,push需谨慎

Commit 35e56d6b authored by jiangxiulong's avatar jiangxiulong

createIndex

parent 4ecd808f
......@@ -7,7 +7,8 @@
-- sh.shardCollection("prod_ln_scene.IntegralActivityDrawVo",{"drawId":"hashed"});
-- 创建索引
-- db.IntegralActivityDrawVo.createIndex({drawId:"hashed"});
db.IntegralActivityDrawVo.createIndex({drawId:"hashed"});
db.IntegralActivityDrawVo.createIndex({userId:"hashed"});
-- 删除集合内数据
-- db.IntegralActivityDrawVo.deleteMany({});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment