Skip to content

Commit 8d7681b

Browse files
authored
feat(docs): add v1.0.1 release (#359)
1 parent d921b26 commit 8d7681b

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

docs/src/release/v1.0.1.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: v1.0.1
3+
icon: catppuccin:release
4+
order: 1
5+
---
6+
7+
## 问题修复
8+
9+
### cmd/jzero
10+
11+
* cache 模式下: UpdateFieldsByCondition/DeleteFieldsByCondition 未删除缓存数据, 导致使用主键或者索引键查询数据时, 获取的数据还是缓存的数据.([#357](https://github.com/jzero-io/jzero/pull/357))
12+
> **解决方案**: 先 FindFieldsByCondition(只查出主键和unique键的数据,减少数据量交互) ,然后遍历这些数据,获取所有可能存在的 cache key 进行删除
13+
>
14+
>
15+
> **注意事项**: 当数据量较大时, 业务层需要自己控制每次更新/删除的数据量
16+
17+
## 更新步骤
18+
19+
```shell
20+
go install github.com/jzero-io/jzero/cmd/jzero@v1.0.1
21+
```

0 commit comments

Comments
 (0)