Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缓存批量查询会增量吗? #939

Open
xyy0922 opened this issue Oct 22, 2024 · 1 comment
Open

缓存批量查询会增量吗? #939

xyy0922 opened this issue Oct 22, 2024 · 1 comment

Comments

@xyy0922
Copy link

xyy0922 commented Oct 22, 2024

第一次查询id为1、2、3的三条数据缓存,再次查询id为 2、3、4的数据,此时会通过数据库仅仅查询4的数据进行缓存,然后返回2、3、4的数据吗?

@areyouok
Copy link
Collaborator

会。其实这种问题看下代码就知道了,答案在MultiLevelCache.do_GET_ALL()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants