We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MySQL查询语句有 limit N offset N 和 limit N 两种语法,目前平台的改写匹配很简陋,仅针对没有limit的语句增加 limit N ,对于带limit的语句,不做改写,仅通过fetchmany方法过滤,对数据安全和查询效率都有影响
limit N offset N
limit N
将 limit N offset N 和 limit N 都按照用户limit限制改写为limit N
https://github.com/hhyo/Archery/blob/master/sql/engines/mysql.py#L128
The text was updated successfully, but these errors were encountered:
e858f36
No branches or pull requests
目前遇到的问题/使用障碍
MySQL查询语句有
limit N offset N
和limit N
两种语法,目前平台的改写匹配很简陋,仅针对没有limit的语句增加limit N
,对于带limit的语句,不做改写,仅通过fetchmany方法过滤,对数据安全和查询效率都有影响希望如何解决/实现它
将
limit N offset N
和limit N
都按照用户limit限制改写为limit N
代码
https://github.com/hhyo/Archery/blob/master/sql/engines/mysql.py#L128
The text was updated successfully, but these errors were encountered: