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

如何配置取前十条数据的效果 #1964

Closed
zhang382847657 opened this issue Sep 29, 2020 · 3 comments
Closed

如何配置取前十条数据的效果 #1964

zhang382847657 opened this issue Sep 29, 2020 · 3 comments

Comments

@zhang382847657
Copy link

我有一个表格,只想展示点击量排名前10的网站,如何在Widget List中配置这样的情况?

@xxxllluuu
Copy link
Contributor

You can use SQL limits and order by

@zhang382847657
Copy link
Author

如果不用SQL来配置,而是直接在widget list中配置可以吗?
举个例子,我想显示某类型下电影排名前十的影片有哪些,电影类型是在仪表盘中配的全局控制器,如果用户选择了科幻类,则表单显示科幻类下评分排名前十的电影,如果用户什么都不选择,则显示所有电影评分排名前十的电影。
因为你不知道用户是按照什么类型来选择的,所以无法在SQL中直接写limit

@scottsut
Copy link
Member

Will be supported in next release.

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

3 participants