we have case():

select(case([(table.c.x==5, 5), (table.c.y==7, 12)], else_=7))

and cast():

  select([cast(table.c.x, Numeric)])

which are in the generated documentation for sql.py.

for coalesce() you can call that as func.coalesce() for now.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to