How to use SQLAlchemy expression language to select columns with where condition to check boolean expression. example:
select([table]).\\ where(and_(tabl
According to the documentation, the way you should handle this is by using the true() or false() constants that you can import from SqlAlchemy. It would look like this:
from sqlalchemy import false select([table]).\ where(and_(table.c.col1 == 'abc', table.c.is_num == false() ))
Hope this helps!