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

[ 问题咨询 ] 查询行数大于5000怎样设置? #875

Closed
yh777 opened this issue Sep 10, 2020 · 6 comments
Closed

[ 问题咨询 ] 查询行数大于5000怎样设置? #875

yh777 opened this issue Sep 10, 2020 · 6 comments
Labels
question Further information is requested

Comments

@yh777
Copy link

yh777 commented Sep 10, 2020

问题描述

查询行数大于5000怎样设置?

版本信息

  • 应用版本/分支:Release v1.7.2
  • 部署方式:Docker、手工部署
@yh777 yh777 added the question Further information is requested label Sep 10, 2020
@hhyo
Copy link
Owner

hhyo commented Sep 10, 2020

@hhyo hhyo closed this as completed Sep 10, 2020
@zhengweigao
Copy link

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit

多看文档

有地方调整普通用户的返回行数限制嘛

@hhyo
Copy link
Owner

hhyo commented Oct 10, 2020

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit
多看文档

有地方调整普通用户的返回行数限制嘛

https://archerydms.com/modules/query/#_7

@weideguo
Copy link
Collaborator

进入django调试命令行

cd /opt/archery
python manage.py shell
from common.config import SysConfig
SysConfig().set('admin_query_limit',20000)

可以修改默认的查询上限

@morewant
Copy link

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit
多看文档

有地方调整普通用户的返回行数限制嘛

https://archerydms.com/modules/query/#_7

配置了行数权限后进行查询,依然是5000条,会是什么情况导致的?
image
image

@morewant
Copy link

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit
多看文档

有地方调整普通用户的返回行数限制嘛

https://archerydms.com/modules/query/#_7

配置了行数权限后进行查询,依然是5000条,会是什么情况导致的? image image

找到原因了,是权限配置中“可查询所在资源组内所有实例”权限导致的,加了该权限申请的权限就不生效

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

No branches or pull requests

5 participants