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

refactor: batch get variable from mysql by view Ids #2189

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

KANLON
Copy link
Contributor

@KANLON KANLON commented Jun 7, 2023

batch get variable from mysql by view Ids

When optimizing the acquisition of dashboard information, traverse the view to obtain variables and modify them to batch retrieve them from the database based on the viewIds set, reducing the need for database queries

优化获取dashboard信息的时候,遍历view 获取变量修改为根据viewIds集合批量去数据库中获取,减少对数据库查询

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

Successfully merging this pull request may close these issues.

1 participant