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
Passing an empty "order" property through an API or direct repository call leads to a broken select statement.
Example filter that will lead to the error:
{ "order": "" }
at Query.run (node_modules/sequelize/src/dialects/mysql/query.js:46:25) at node_modules/sequelize/src/sequelize.js:650:28 code: 'ER_BAD_FIELD_ERROR', errno: 1054, sqlState: '42S22', sqlMessage: "Unknown column 'MyTable.' in 'order clause'", sql: "SELECT ... ORDER BY `MyTable`.`` ASC;" }
No response
#10279
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Passing an empty "order" property through an API or direct repository call leads to a broken select statement.
Example filter that will lead to the error:
Logs
Additional information
No response
Reproduction
#10279
The text was updated successfully, but these errors were encountered: