07 2023 档案
摘要:db //查询当前使用的数据库 show dbs //查询所有的数据库 use 【dbname】 //使用数据库 ;如果没有这个数据库会直接创建这个数据库 db.createCollection("[collection_name]") //创建集合(在sql中叫表) 例子: db.createCo
阅读全文
摘要:PageHelper用来处理分页 首先添加依赖: <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.2.4<
阅读全文