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

Commit 4ecd808f authored by jiangxiulong's avatar jiangxiulong

mongo 操作文件

parent 650d23c4
-- use prod_ln_scene;
-- 创建集合
-- db.createCollection("IntegralActivityDrawVo");
-- 创建分片
-- sh.enableSharding("prod_ln_scene");
-- sh.shardCollection("prod_ln_scene.IntegralActivityDrawVo",{"drawId":"hashed"});
-- 创建索引
-- db.IntegralActivityDrawVo.createIndex({drawId:"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