会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
leolzi
才能是持久的耐性
博客园
首页
新随笔
联系
管理
订阅
2022年4月3日
mongodb 索引创建,查询, 删除
摘要: 1. 多键唯一索引 a.loc 和 a.qty 为符合多键索引 db.collection.createIndex( { "a.loc": 1, "a.qty": 1 }, { unique: true } ) 如: db.getCollection("Name,idcardNo").createI
阅读全文
posted @ 2022-04-03 14:54 leolzi
阅读(261)
评论(0)
推荐(0)
编辑
公告