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
At the moment Field("a") ** 2 will produce an incorrect SQL for MSSQL: POW("a",2). The POW function in MSSQL is called POWER.
Field("a") ** 2
POW("a",2)
I discovered it while working on a PR in tortoise-orm. Here's related line https://github.com/tortoise/tortoise-orm/pull/1761/files#diff-aa57560853f73b4713b47a1ae27f28c76a227216db2eb068e32649322876ae94R209
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At the moment
Field("a") ** 2
will produce an incorrect SQL for MSSQL:POW("a",2)
. The POW function in MSSQL is called POWER.I discovered it while working on a PR in tortoise-orm. Here's related line https://github.com/tortoise/tortoise-orm/pull/1761/files#diff-aa57560853f73b4713b47a1ae27f28c76a227216db2eb068e32649322876ae94R209
The text was updated successfully, but these errors were encountered: