I\'m wondering if there\'s a way to create a case statement with SqlAlchemy, e.g. the postgresql version
case
Maybe literal SQL is the way to go if there is no
Check out the documentation about the case statement here: http://docs.sqlalchemy.org/en/latest/core/sqlelement.html#sqlalchemy.sql.expression.case