07 2023 档案

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

点击右上角即可分享
微信分享提示