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
case()
We need to add case() function that is similar to SQLAlchemy case: https://docs.sqlalchemy.org/en/20/core/sqlelement.html#sqlalchemy.sql.expression.case
Example usage:
dc.muate( res=func.case((C("num") > 0, "P"), (C("num") < 0, "N"), else_="Z") )
A in SQLAlchemy, for now it can only accept Python primitives as results like int, float, bool, str.
int
float
bool
str
The text was updated successfully, but these errors were encountered:
Could you please clarify the need a bit?
Sorry, something went wrong.
ilongin
Successfully merging a pull request may close this issue.
We need to add
case()
function that is similar to SQLAlchemy case: https://docs.sqlalchemy.org/en/20/core/sqlelement.html#sqlalchemy.sql.expression.caseExample usage:
A in SQLAlchemy, for now it can only accept Python primitives as results like
int
,float
,bool
,str
.The text was updated successfully, but these errors were encountered: