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
This code:
client.delete().from("tab").matching(where("id").notIn(1, 2))
generates SQL statement without any conditions:
DELETE FROM tab
When combined with other conditions, an incorrect SQL statement is generated:
client.delete().from("tab").matching(where("pole").`is`(1).and("id").notIn(1, 2))
generates:
DELETE FROM tab WHERE tab.pole = $1 AND
The IN comparator is working fine.
IN
The text was updated successfully, but these errors were encountered:
Looks like a bug in the Spring Data Relational (JDBC) project as we're using the SqlRenderer.
SqlRenderer
Sorry, something went wrong.
This will get fixed by https://jira.spring.io/browse/DATAJDBC-410
DATAJDBC-410 - Properly render NOT IN clauses.
01ec39f
See also: spring-projects/spring-data-r2dbc#177
85bf1e6
See also: spring-projects/spring-data-r2dbc#177 Original pull request: #167.
#177 - Add tests for NOT IN.
6331003
#177 - Polishing.
ba7882b
Add this. for field access.
Fixed in Spring Data JDBC, added tests in Spring Data R2DBC.
schauder
No branches or pull requests
This code:
generates SQL statement without any conditions:
When combined with other conditions, an incorrect SQL statement is generated:
generates:
The
IN
comparator is working fine.The text was updated successfully, but these errors were encountered: