- 博客(1)
- 收藏
- 关注
原创 Spring Boot MongoDB 聚合、去重、按日期分组
Mongodb指定格式化时间,指定时区 AggregationExpression dateExpression = DateOperators.DateToString .dateOf("loginTime") .toString("%Y-%m-%d") .withTimezone( DateOperators.Timezone.valueOf("+08") );
2019-10-18 13:55:15 7193 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人