2022年4月26日

MongoDB创建用户

摘要: #切换admin库 use admin; #在admin库创建root用户 db.createUser({user: 'root', pwd: 'wihv*euF^Et9nuOn', roles: ['root']});//db.createUser({user: 'root', pwd: 'wih 阅读全文

posted @ 2022-04-26 10:12 MaXianZhe 阅读(204) 评论(0) 推荐(0) 编辑

Springboot模式下Mybatis的batch模式怎么写

摘要: public int addUserSpace(List<UserSpace> userSpaceList) { SqlSessionFactory sqlSessionFactory = sqlSessionTemplate.getSqlSessionFactory(); SqlSession s 阅读全文

posted @ 2022-04-26 09:48 MaXianZhe 阅读(814) 评论(0) 推荐(0) 编辑

MongoDB的前缀索引

摘要: 跟mysql挺像的,也有前缀索引 还有多键索引 阅读全文

posted @ 2022-04-26 09:09 MaXianZhe 阅读(247) 评论(0) 推荐(0) 编辑

导航