-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[ 问题咨询 ] mysql的查询改写逻辑是什么? #739
Labels
duplicate
This issue or pull request already exists
Comments
limit关键字和offet关键字功能是不是写反了,我用Navicat执行第二条语句是有结果返回的。 |
简单地说,平台目前不允许offset查询,都会被改写成limit x |
好的 |
mxlxm
added a commit
to mxlxm/Archery
that referenced
this issue
Aug 29, 2021
Merged
hhyo
added a commit
that referenced
this issue
Sep 16, 2021
@hhyo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在提交 issue 前,请查阅以下资源,请先进行搜索来保证没有类似的 issue。
文档 | FAQ
重现步骤
select `id` as `site_id`, `nick_name` from `kbd_site_info` where `nick_name` like '%丸子%' order by `created_at` desc limit 10
执行结果有数据
select `id` as `site_id`, `nick_name` from `kbd_site_info` where `nick_name` like '%丸子%' order by `created_at` desc limit 10 offset 0
执行结果没数据
select `id` as `site_id`, `nick_name` from `kbd_site_info` where `nick_name` like '%丸子%' order by `created_at` desc limit 10 offset 1
执行结果只有一条数据
期待结果和实际结果
期待结果:
根据正常SQL语法的到数据
实际结果:
无法获取数据
截图
错误日志
版本信息
应用版本/分支:
部署方式:Docker、手工部署
The text was updated successfully, but these errors were encountered: