Skip to content
Advertisement

SQLAlchemy: Logical Operators with case statement

Here is my mssql code snippet

JavaScript

How would i use the and operator with case statement if i write the above statement in sqlalchemy.

I have tried doing this but did not work

JavaScript

I have searched through the sqlalchemy documentation but did not find the info on using logical operators with case statement.

The link has some info on this.

Advertisement

Answer

This should get you started:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement