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

如果允许子查询的话,和分页条件连用会生成子查询语句。然后在子查询语句中会将连接的表的顶级 where 条件放在子查询中,然后会报找不到字段的错误。 #44

Open
EagleQL opened this issue May 8, 2020 · 1 comment
Labels

Comments

@EagleQL
Copy link

EagleQL commented May 8, 2020

如果允许子查询的话,和分页条件连用会生成子查询语句。然后在子查询语句中会将连接的表的顶级 where 条件放在子查询中,然后会报找不到字段的错误。这个是 sequelize 的 bug

@EagleQL EagleQL changed the title 如果允许子查询的话,和分页条件连用会生成子查询语句。然后在自查询语句中会将连接的表的顶级 where 条件放在子查询中,然后会报找不到字段的错误。 如果允许子查询的话,和分页条件连用会生成子查询语句。然后在子查询语句中会将连接的表的顶级 where 条件放在子查询中,然后会报找不到字段的错误。 May 8, 2020
@demopark
Copy link
Owner

@EagleQL 没有看懂,贴个代码描述下.

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

No branches or pull requests

2 participants