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
Related to #468, there's currently a bug in how <= and >= are implemented for tuple comparisons.
<=
>=
For example, a query like model.select(lambda e: (e.a,e.b) <= (ref.a,ref.b)) is generating an expression like:
model.select(lambda e: (e.a,e.b) <= (ref.a,ref.b))
SELECT "e"."a", "e"."b" FROM "Model" "e" WHERE ("e"."a" <= ? OR "e"."a" = ? AND "e"."b" <= ?)
when that should actually be:
SELECT "e"."a", "e"."b" FROM "Model" "e" WHERE ("e"."a" < ? OR "e"."a" = ? AND "e"."b" <= ?)
and the same goes for >=.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Related to #468, there's currently a bug in how
<=
and>=
are implemented for tuple comparisons.For example, a query like
model.select(lambda e: (e.a,e.b) <= (ref.a,ref.b))
is generating an expression like:when that should actually be:
and the same goes for
>=
.The text was updated successfully, but these errors were encountered: