会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
东北大亨
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
24
下一页
2024年3月20日
mongo GridFSBucket
摘要: 1、描述:mongo 单机使用 GridFSBucket 2、pox中添加jar <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.12.9</versi
阅读全文
posted @ 2024-03-20 12:17 东北大亨
阅读(85)
评论(0)
推荐(0)
2024年3月19日
mongo page query based on conditions
摘要: 一、MongoTemplate 中 Aggregation 应用 使用Aggregation聚合查询 支持返回固定字段 支持分组计算(count)总数、(sum)求和、(avg)平均值、(max)最大值、(min)最小值等 public Page<Student> getListWithAggreg
阅读全文
posted @ 2024-03-19 09:34 东北大亨
阅读(36)
评论(0)
推荐(0)
mongo aggregation
摘要: 在mongo中 aggregation(聚合应用) 1、插入测试数据 db.tycoon.insertMany( [ {item:"paper",tycoon:25,size:{h:14, w:21,cm:"and" },status:"A"}, {item:"notebook",tycoon:50
阅读全文
posted @ 2024-03-19 08:36 东北大亨
阅读(43)
评论(0)
推荐(0)
2024年3月15日
usering mongotemplate bases on spring-Data-mongo
摘要: 1、find mongoTemplate.find(Query query, Class<T> entityClass ) return value : List<T> example: List<users> users = mongoTemplate.find(new Query(Criteri
阅读全文
posted @ 2024-03-15 18:03 东北大亨
阅读(17)
评论(0)
推荐(0)
mongodb 基础(一)创建集合,简单查询、移除集合种文档文档
摘要: 1、create a collection the name is users(the users collection contains field :createDate、name、age、grade) example: db.users.insertMany([{"createDate":"2
阅读全文
posted @ 2024-03-15 17:46 东北大亨
阅读(42)
评论(0)
推荐(0)
2024年3月10日
idea 菜单栏显隐控制
摘要: idea 菜单栏显隐控制 1、idea中双击shift 输入view,出现以下弹出框 2、点击第一个view 进入以下界面 3、选择自己需要选择项即可
阅读全文
posted @ 2024-03-10 14:17 东北大亨
阅读(207)
评论(0)
推荐(0)
2024年1月21日
mysql 修改密码
摘要: 1、找到根目录登录msql 1) 以本机为例,mysql安装目录为:usr/localhost/mysql5.7 2) cd usr/loclahost/mysql5.7/bin 3)登录 4)查看MySQL用户 2、 在mysql5.7版本中存放密码字段为authentication_string
阅读全文
posted @ 2024-01-21 18:35 东北大亨
阅读(25)
评论(0)
推荐(0)
2024年1月7日
源码学习 出现彻底解决unable to find valid certification path to requested target
摘要: 说明:很久前spring 5.1X源码搭建成功,近阶段看源码发现更新类库出现 “:unable to find valid certification path to requested target 原因是:源码更新的是官网类库,官网需要国外我网站不能实时访问很慢,所以映射需要执行ali 服务器,
阅读全文
posted @ 2024-01-07 12:52 东北大亨
阅读(2536)
评论(0)
推荐(0)
2023年10月14日
idea 创建module 一直显示loading archetype list以及加载archetype.xml
摘要: 描述:Idea 工程创建新的module 子服务,点击New Project,选中Maven,右边一直显示:loading archetype list... 解决方法: 第一步: 第二步: 重新启动idea问题解决
阅读全文
posted @ 2023-10-14 22:05 东北大亨
阅读(308)
评论(0)
推荐(0)
npm安装依赖报错npm ERR code ENOTFOUND npm ERR errno ENOTFOUND
摘要: 第一种方法: 1:执行: npm config get proxy npm config get https-proxy 如两个返回值都为null,则直接执行第二步,要确保两个返回值都是null才可以,否则就要执行下面的代码: npm config set proxy null npm config
阅读全文
posted @ 2023-10-14 21:58 东北大亨
阅读(4261)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
24
下一页
公告